Search the web
Sign In
New User? Sign Up
ftpbench · To develop an open-source FTP benchmark application,
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
simulating 100,000 ftp clients on linux   Message List  
Reply | Forward Message #183 of 282 |
Nimesh wrote to request a change in dkftpbench to
support multiple IP addresses on the client, to
increase the number of (local port, local ip adr) tuples
available. His goal is to simulate > 100000 ftp clients.

dkftpbench is currently based on poll(), which would limit
you to something like 20000 clients (as it gets very slow
above that).
Last year, I did write a Poller class to make it easy to
use more efficient replacements for poll(), but dkftpbench
doesn't use it yet.
Also, as of dkftpbench-0.23, Poller doesn't support Linux's
realtime signal approach to readiness notification
(which is included in e.g. Red Hat 7.1 and later).

So there are three things that have to happen to fulfill Nimesh's
request:

1. Write Poller_sigio.{cc,h} to support Linux's realtime signal
readiness notification.
2. Rewrite dkftpbench to use Poller instead of poll().
3. Add the 'multiple local ip addresses' feature to dkftpbench.

I just finished a first try at Poller_sigio, so #1 is more or less done
(though not well tested). It's uploaded as
http://www.kegel.com/dkftpbench/dkftpbench-0.24.tar.gz
if anyone wants to vet it.

Next step is to rewrite dkftpbench to use Poller. I've been
wanting to do that for a long time, but didn't have the
energy or an excuse to. I have both now (assuming sufficient coffee :-)
and will give it a shot.
- Dan

--
"I have seen the future, and it licks itself clean." -- Bucky Katt



Sat Sep 8, 2001 6:05 pm

dank@...
Send Email Send Email

Forward
Message #183 of 282 |
Expand Messages Author Sort by Date

Nimesh wrote to request a change in dkftpbench to support multiple IP addresses on the client, to increase the number of (local port, local ip adr) tuples ...
Dan Kegel
dank@...
Send Email
Sep 8, 2001
6:05 pm

... First draft is done but not well-tested (and a bit ugly); it's http://www.kegel.com/dkftpbench/dkftpbench-0.25.tar.gz dkftpbench is now hardwired to use...
Dan Kegel
dank@...
Send Email
Sep 8, 2001
11:40 pm

... Uploaded second draft of Poller rewrite. It's no longer as ugly. In fact, integrating Poller cleaned things up a bit. The code is no longer O(N) anywhere...
Dan Kegel
dank@...
Send Email
Sep 10, 2001
4:56 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help