... Hi Maryam, my code currently does only ftp, but I've been considering bringing it up to date and adding http and smtp support as well, and maybe banging...
178
Dan Kegel
dank@...
Sep 5, 2001 5:23 am
Somehow I never got around to making dkftpbench work under red hat 7.1 (which has a pickier compiler and a few .h files in different spots). Thanks to Nimesh...
179
Dan Kegel
dank@...
Sep 6, 2001 2:44 am
That's a good idea. I can easily do that. How would you like to specify the addresses? As a file, with one numerical IP address per line, or with some sort...
180
Shane Kerr
shane@...
Sep 6, 2001 6:56 am
... I'm not sure what this means. I assume we're talking 500K simultaneous connections.... Since port addresses are 16-bits, there are only 65536 on a single...
181
Dan Kegel
dank@...
Sep 6, 2001 4:26 pm
... It's much easier than that. Just configure multiple ip addresses on the client box, then modify the client program to cycle through the addresses. That's...
182
Shane Kerr
shane@...
Sep 6, 2001 7:36 pm
... Oh yeah. Nevermind. :) -- Shane Carpe Diem...
183
Dan Kegel
dank@...
Sep 8, 2001 6:05 pm
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 ...
184
Dan Kegel
dank@...
Sep 8, 2001 11:40 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...
185
Dan Kegel
dank@...
Sep 10, 2001 4:56 am
... 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...
186
Dan Kegel
dank@...
Sep 11, 2001 4:01 pm
I updated dkftpbench to actually work with Poller_sigio, I think. (Had to juggle things around a bit. one-shot notification methods like Linux's sigio are a...
187
Dan Kegel
dank@...
Sep 11, 2001 6:17 pm
... I did notice a few interesting things: running both wu-ftpd and dkftpbench on the same system and trying to do 400 users at 1000 bytes/sec each gets you...
188
Dan Kegel
dank@...
Sep 12, 2001 4:51 am
Spent some time running dkftpbench with sigio through its paces. Found that running dkftpbench and wu-ftpd on same system, and trying to handle 500 users, is a...
189
Dan Kegel
dank@...
Sep 13, 2001 12:58 am
Poller_sigio had a bug in how it fell back to poll() on SIGIO. Poller_select had a silly bug setting the timeout. These are fixed, and I can now get up to 3000...
190
Dan Kegel
dank@...
Sep 20, 2001 3:14 pm
Try making this change to bench.cc: 284c292 < if (err && (err != EINTR)) { ... I simplified that section recently, and evidently introduced a...
191
Dan Kegel
dank@...
Sep 21, 2001 3:48 pm
0.31 should fix a boneheaded mistake that kept 0.30 from working except under extreme load. In 0.32 I hope to add an option, -a, to detect and use all local...
192
Shane Kerr
shane@...
Sep 22, 2001 8:13 am
... They can indeed. One tricky part is that the buffer length parameter for this interface is the number of bytes, not the number of ifreq structures...
193
Dan Kegel
dank@...
Sep 24, 2001 5:19 am
... Uh, there wasn't, but there is now. Version 0.33 adds a new -B flag which lets you set the threshold; say -B1 to set the min to 1 byte/sec, which just...
194
dank@...
Sep 30, 2001 9:20 pm
At Nimesh's request, I added a -a option to use all the local ip addresses (except localhost). If you use -a, it will manage the ephemeral port range by...
195
dank@...
Oct 2, 2001 4:47 am
I compiled dkftpbench for an embedded PPC distribution today, and ran into three portability problems: no max(), no in_addr_t, and no useful gethostbyname(). ...
196
dank@...
dankegel
Oct 17, 2001 3:57 pm
This version just fixes up the Makefile so 'make install' installs libPoller.a and the needed .h files so that other applications besides dkftpbench can use...
197
Francis little
oggy@...
Oct 26, 2001 12:33 pm
hello...up untill now i've used version 0.30 and decided it was time for an upgrade but version 0.37 won't compile. if i do a 'make dkftpbench39; i get the...
198
junkyard@...
sashaoblak
Nov 13, 2001 11:57 pm
Hello I am unable to compile dkftpbench-0.37 on Solaris. I am getting numerous errors, which I have pasted below. I would very much appreciate any help you...
199
Dan Kegel
dankegel
Nov 16, 2001 4:52 am
... Hmm. Looks like I need to find a Solaris implementation of getifaddrs(). There are clues at http://www.wcug.wwu.edu/lists/netdev/200002/msg00144.html ...
200
Christopher K. St. John
distributopia
Nov 16, 2001 3:46 pm
I tried to send Dan a new-improved /dev/poll-like patch, and he made me go try it out on dkftpbench first. That was probably a good thing, because I found...
201
Christopher K. St. John
distributopia
Nov 16, 2001 3:49 pm
... Argh. That 'because39; doesn't make any sense. Coffee, need more coffee. It should still be "at least", though. -cks...
202
Zach Brown
zab@...
Nov 16, 2001 5:55 pm
... so what did you do differently than /dev/poll, /dev/epoll, queued rt/sigio signals, and bcrl's async poll? there are a host of 'fd interest/event...
203
Christopher K. St. John
distributopia
Nov 16, 2001 6:43 pm
... Main point was to find out why Linux /dev/poll was affected by the number of idle connections, when in theory, it didn't need to be. Writing /dev/yapoll ...
204
Zach Brown
zab@...
Nov 16, 2001 7:11 pm
... yes. I'm looking forward to seeing your work, if you feel the need to publish it :) bcrl's code allows this sort of optimization to legacy poll by adding ...
205
sasha oblak
sashaoblak
Nov 27, 2001 12:20 am
Would you be interested in a Solaris 8 installation CD for Intel or SPARC? It might help testing on Solaris. Sasha ... -- Sasha Oblak 901 San Antonio RD M/D...
206
Dan Kegel
dankegel
Dec 11, 2001 8:47 pm
CHANGELOG for dkftpbench 0.38 Compiles on Solaris 7 -- getifaddrs.c doesn't do anything there yet, but at least it compiles. You may now override CFLAGS and...