* Daniel Cheng <j16sdiz+freenet at gmail.com> [2008-11-29 21:33:59]: > On Sat, Nov 29, 2008 at 9:25 PM, Ian Clarke <ian at freenetproject.org> 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: ian at freenetproject.org > > > > > > 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: ian at uprizer.com > > Ph: +1 512 422 3588 > > Fax: +1 512 276 6674 > > _______________________________________________ > > Tech mailing list > > Tech at freenetproject.org > > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech > > > _______________________________________________ > Tech mailing list > Tech at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20081129/9c6add39/attachment.pgp>