From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Mon, 19 Jun 2000 08:48:30 +0000 From: abhay puri Message-ID: <394CDB64.9B9328E6@one.net.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <200006161600.MAA28743@cse.psu.edu> Subject: Re: [9fans] listen qlen Topicbox-Message-UUID: c42e0a0a-eac8-11e9-9e20-41e7f4b1d025 Many thanks to all who answered the 'how to make the kernel' question. It works and should be useful for lots more than this qlen question! I took some time measurements where the client code is basically "connect, send "GET /", close" 03 iterations linux2.2.14-15mdk/apache1.3.9 33 pkts 0.058, 0.056, 0.057 p9/httpd 0.055, 0.055, 0.055 20 iterations linux2.2.14-15mdk/apache1.3.9 220 pkts 0.283, 0.284, 0.278 p9/httpd 5-7 connection refused messages p9/httpd qlen=512 201 pkts 0.513, 0.380, 0.384 50 iterations linux2.2.14-15mdk/apache1.3.9 3.291, 3.294, 3.283 linux2.2.14-15mdk/apache1.3.9 qlen=511 550 pkts 0.636, 0.655, 0.635 p9/httpd qlen=512 0.994, 0.991, 1.007 Notes: - except where explicitly stated, the listen qlen is 10. - all times are in seconds and are calculated using tcpdump running on the client - the three times are three consecutive measurements - the linux and p9 measurements are both taken from the same box which is a p133 pc, 48Mb. Questions: I guess i have a couple of questions: - the fact that p9/httpd started refusing connections at 20 iterations while linux didn't surprised me. (that may be more a linux question?) - the fact that p9/httpd took half again as long (50 iterations) as linux surprised me (this maybe too artificial a test - with no bearing on how a server would actually perform ). Nevertheless, is this sort of difference expected? or is it likely I've stuffed something in my configuration up?