Re: Fwd: powertop/latencytop vs freenet

Florent Daignière <[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
* Daniel Cheng <[email protected]> [2008-11-29 21:33:59]:

> On Sat, Nov 29, 2008 at 9:25 PM, Ian Clarke <[email protected]> wrote:
> > Just received this, anyone have any thoughts? :-
> 
> battery life need careful thread planning.
> 
> pattern like :
>   while (true) {
>       if ( condition ) { doSomthing; }
>       else  Thread.sleep(1000);
>   }
> would wake up the thread every one second.
> This hurt the battery a lot.
> 
> Should have used object.wait / notify for this.
> Freenet source code have lots of pattern like this.
> 
> Another (bigger) issue is harddisk spin down, we keep
> accessing the disk, there is no chance for spinning down.
> -- there is no fix for this. we have to access the store.
> 

Heh, how can you seriously consider the problem?

Whatever you do freenet will have to do network IOs... and that's
expensive in terms of power consumption (generate interrupts,...). Not
to mention that laptops are likely to be connected through wireless
networks!

NextGen$

> > ---------- Forwarded message ----------
> > From: Andrew <...>
> > Date: Sat, Nov 29, 2008 at 5:33 AM
> > Subject: powertop/latencytop vs freenet
> > To: [email protected]
> >
> >
> > Yo,
> >
> > I uninstalled Freenet from 40 laptops (we're a privacy company)
> > because they rake havoc on battery life. Fix it please, then we'll
> > re-install.
> >
> > Best,
> >
> > Andrew
> >
> >
> > --
> > Ian Clarke
> > CEO, Uprizer Labs
> > Email: [email protected]
> > Ph: +1 512 422 3588
> > Fax: +1 512 276 6674
> > _______________________________________________
> > Tech mailing list
> > [email protected]
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
> >
> _______________________________________________
> Tech mailing list
> [email protected]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech

_______________________________________________
Tech mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkxRaAACgkQU/Z/dHFfxtcZugCfaxInngRe6cUX8f2AZ0FWFKDQ
XcQAnRbbEwDD27yMz0gquwSpGEHRJrJw
=19qH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.