Re: Fwd: powertop/latencytop vs freenet

"Daniel Cheng" <[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
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.

> ---------- 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
>
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.