Oh boy, wasn't this thread supposed to focus the syslets/threadlets ... :)
On Thu, 1 Mar 2007, Eric Dumazet wrote: > On Thursday 01 March 2007 16:23, Evgeniy Polyakov wrote: > > They are there, since ab runs only 50k requests. > > If I change it to something noticebly more than 50/80k, ab crashes: > > # ab -c8000 -t 600 -n800000000 http://192.168.0.48/ > > This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 > > Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ > > Copyright 2006 The Apache Software Foundation, http://www.apache.org/ > > > > Benchmarking 192.168.0.48 (be patient) > > Segmentation fault > > > > Are there any other tool suitable for such loads? > > I only tested httperf (which is worse, since it uses poll/select) and > > 'ab'. > > > > Btw, host machine runs 100% too, so it is possible that client side is > > broken (too). > > I have similar problems here, ab test just doesnt complete... > > I am still investigating with strace and tcpdump. > > In the meantime you could just rewrite it (based on epoll please :) ), since > it should be quite easy to do this (reverse of evserver_epoll) I have a simple one based on coroutines and epoll. You need libpcl and coronet. Debian hs a package named libpcl1-dev for libpcl, otherwise: http://www.xmailserver.org/libpcl.html and 'configure --prefix=/usr && sudo make install'. Coronet is here: http://www.xmailserver.org/coronet-lib.html here just 'configure && make'. Inside the "test" directory there a simple loader named cnhttpload: cnhttpload -s HOST -n NCON [-p PORT (80)] [-r NREQS (1)] [-S STKSIZE (8192)] [-M MAXCONNS] [-t TMUPD (1000)] [-a NACTIVE] [-T TMSAMP (200)] [-h] URL ... HOST = Target host PORT = Target host port NCON = Number of connections to the server NACTIVE = Number of active (live) connections STKSIZE = Stack size for coroutines NREQS = Number of request done for each connection (better be 1 if your server do not support keep-alive) MAXCONNS = Maximum number of total connections done to the server. If not set, the test will continue forever (well, till a ^C) TMUPD = Millisec time of stats update TMSAMP = Millisec internal average-update time URL = Target doc (not http:// or host, just doc path) So for the particular test my inbox was flooded with :), you'd use: cnhttpload -s HOST -n 80000 -a 8000 -S 4096 - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/