Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3





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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Why is my Exch srvr spamming people?
    ... so if you've ruled out open relays--how about an internal host that's ... these 400 connections may not be the actual source. ... and a client PC can send over TCP port 25 to another server on the ... "Rene Frenger" wrote: ...
    (microsoft.public.exchange.admin)
  • Re: Best way to scan processes on remote nodes
    ... The user login in via a captive account so I would like to in DCL via ... raising a connection to each host, and running a server process, and retrieving and processing the results, or the inability to connect to the host. ... If you have C code, you can maintain connections to a remote server, and basically roll your own directory server. ...
    (comp.os.vms)
  • Re: Server resource and open database connections
    ... > If a host suggests poor performance is possibly due to 'open database' ... > connections and Im fairly sure that Ive closed everything - what is ... to close AND DESTROY all ADO objects has caused intermittent server hangs. ...
    (microsoft.public.inetserver.asp.db)
  • Re: Cant send outbound mail, Server Error: 476
    ... should have the answer to the canned response "'476 connections from your ... > An unknown error was returned from the SMTP server. ... > Response: '476 connections from your host are denied', Port: 25, ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • gdm hangs
    ... gdm will hang 9 of 10 times when logging out. ... with or without the client having been connected to the Server. ... # Timed login, useful for kiosks. ... Must output the chosen host on stdout, ...
    (Debian-User)