Re: [freenet-support] Nothing but DNFs

2002-11-13 Thread Matthew Toseland
On Fri, Nov 01, 2002 at 08:43:35AM -, Vitenka - Zen wrote:
 No reply at htl 15.
 Trying htl 40  Not found.
 
 But no one can see me either.
 
 Is it posisble that the network has just gotten so 
 big (and full of holes) that an insert of 5 and a 
 request of 40 simply don't reach far enough across 
 the network?
Yes. Use HTL of at least 15 to insert. HTLs are limited to 25 currently,
so above that is pointless.
 
 There's definately a lack of flow - most of my 
 requests are timing out with '25 hosts queried - 19 
 didn't connect, 6 cleanly failed'
 
 But people seem to be using my node, and I can get 
 a number of freesites.
 
 Still getting awful performance especially if I 
 fire up frost.
 
 I also have a complaint to whoever said that 100 
 idling threads is harmless.
 Not on windows it isn't, certainly not in java on 
 windows.  Threads are rpocesses and have horrible 
 overhead.
Whatever. We can't get rid of them without huge effort. It might be
worth it someday (nonblocking I/O).
 

-- 
Matthew Toseland
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Freenet/Coldstore open source hacker.
Employed full time by Freenet Project Inc. from 11/9/02 to 11/1/03
http://freenetproject.org/



msg02112/pgp0.pgp
Description: PGP signature


Re: [freenet-support] Nothing but DNFs

2002-11-01 Thread Vitenka - Zen
No reply at htl 15.
Trying htl 40  Not found.

But no one can see me either.

Is it posisble that the network has just gotten so 
big (and full of holes) that an insert of 5 and a 
request of 40 simply don't reach far enough across 
the network?

There's definately a lack of flow - most of my 
requests are timing out with '25 hosts queried - 19 
didn't connect, 6 cleanly failed'

But people seem to be using my node, and I can get 
a number of freesites.

Still getting awful performance especially if I 
fire up frost.

I also have a complaint to whoever said that 100 
idling threads is harmless.
Not on windows it isn't, certainly not in java on 
windows.  Threads are rpocesses and have horrible 
overhead.


___
support mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support



Re: [freenet-support] Nothing but DNFs

2002-11-01 Thread Dave Hooper
 I also have a complaint to whoever said that 100
 idling threads is harmless.
 Not on windows it isn't, certainly not in java on
 windows.  Threads are rpocesses and have horrible
 overhead.

Threads are not processes ... they're threads.  If you look in Windows Task
Manager, for example, and click on the processes tab, you don't see 100+
freenet process.  You do see one javaw.exe process and, if you do View /
Select Columns... and tick Thread count, you'll see it has an ugly
buttload of threads.

Unfortunately, as far as I'm aware, all the cool thread / fiber / io
completion management available in win32 isn't accessible from Java (unless
someone can point me to documentary evidence to the contrary that states
clearly the particular (portable) Java code needed to set up a Win32
IOCompletionPort)

Threads on Java on Windows have horrible overhead but, as I see it, that's
the JVM's fault, and not really a fault of Java itself, and certainly not a
fault of the freenet project.  But I agree that it does suck.

A native Win32 application can happily spawn 100+ threads and not get
bogged down in its own underwear.  But for I/O management, having millions
of most-likely-idle threads is NOT the way to go (certainly on Win32
anyway, because there's far better ways to do things).

d



___
support mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support