[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Linux Kernel scheduling

> If the average time a connection is open is relatively small, you
> should still be ok. I'd start with a small number of threads and
> increase them only when the server becomes unresponsive by running
> out of threads.
that is the problem here... I hav to maintain a continous connection to the
server for a long time. If i was having a problem of simple request reply
kind of thing, then i wud just use http tunneling and make the server using
servlet/php/asp/cgi/mod_perl kind of stuff ;) This kind of problem makes a
very heavy demand of resources under linux. Under windows nt/2k the same
program (it is a java program!) can spawn a much larger number of threads
with much lesser per thread overhead/cpu usage :(

    /\ |\/| |3 /\ r