Implemented throttling over the holidays (mostly while on airplanes...) and cleaned up the code a bit. It's at http://www.kegel.com/dkftpbench/ and works...
Dan Kegel
dank@xxxxxx.xxxxxxx.x...
Jan 3, 2000 5:15 am
17
This fixes a couple bugs without introducing any, I hope. It now kills simulated users as soon as their average bandwidth drops below 80% of the target, rather...
Dan Kegel
dank@xxxxxx.xxxxxxx.x...
Jan 4, 2000 2:32 pm
18
Rick Jones warned me that the traffic generated by dkftpbench may trigger problems in some tcp stacks. See http://www.deja.com/getdoc.xp?AN=568757304 I have...
Dan Kegel
dank@xxxxxx.xxxxxxx.x...
Jan 6, 2000 7:14 pm
19
As a load generator, it's getting pretty good; you can now tell whether connection problems are the client's fault (it aborts if it notices any client-side...
Dan Kegel
dank@xxxxxx.xxxxxxx.x...
Jan 13, 2000 9:23 am
20
I've posted a comparison of wu-ftpd and betaftpd at http://www.kegel.com/dkftpbench/results.html on a very simple benchmark (fetching the same 100kilobyte file...
Dan Kegel
dank@xxxxxx.xxxxxxx.x...
Jan 14, 2000 6:59 am
21
0.6 ramps up more gently, which gets rid of a lot of problems I'd been having with betaftpd. It's also less verbose by default; to get the old output, you have...
Dan Kegel
dank@...
Jan 18, 2000 7:31 am
22
Hi, ... Yep, In my own testing, the new version of muddleftpd I am working on (should be ready for release soon) ramps up to about 260 users indefinitely on a...
Beau Kuiper
ekuiperba@...
Jan 20, 2000 1:45 pm
23
... Thanks for the feedback. Nice to have more numbers to compare with! ... Yep. Feel free to report results on fetching 100 megabyte files, though :-) ... ...
Dan Kegel
dank@...
Jan 20, 2000 6:29 pm
24
... Cool ;-) ... I feel what is really needed is lots of files that the server chooses (at random, or in a sequence), so that disk accesses occurs. ... Ah cool...
Beau Kuiper
ekuiperba@...
Jan 20, 2000 4:30 pm
25
Switched to 100baseT (Netgear FA310x, $25, uses Tulip driver). Ran this script on both client and server (using '. tune.sh'): ulimit -n 4096 echo 1024 32767 >...
Dan Kegel
dank@...
Jan 20, 2000 8:47 pm
26
... fwiw, this is fixed in 2.3. you can fill pid_t space with running jobs, from what I recall. -- - zach...
Zach Brown
zab@...
Jan 20, 2000 9:35 pm
27
... Hi again, I just want to confirm the results you got for betaftpd, I played with betaftpd on that 486-133Mhz (36meg ram) machine of mine. It yeilded about...
Beau Kuiper
ekuiperba@...
Jan 21, 2000 5:04 pm
28
After a discussion with Rick Jones (author of netbench), we both agreed to use "each session must achieve at least 75% of specified bandwidth" as the criterion...
Dan Kegel
dank@...
Jan 24, 2000 8:27 am
29
# of simultaneous users as measured by dkftpbench 0.7: wuftpd ncftpd betaftpd 10kB file 49 194 751 1MB file 120 134 258 See...
Dan Kegel
dank@...
Jan 25, 2000 9:11 am
30
I've been playing with ftpbench and betaftpd on and off, and sent betaftpd's author a few bugfixes for his daemon. Haven't had much time to enhance ftpbench...
Dan Kegel
dank@...
Feb 13, 2000 12:00 am
31
hi, You may need more than one computer acting as the ftp client to pull off 1000 connections to a server (But I wouldn't really know :-) ). You will also need...
Beau Kuiper
ekuiperba@...
Feb 13, 2000 12:05 am
32
Oh, you're right, no question. I'm getting around the disk problem by using a document tree of a single file small enough to fit in RAM, so there are no disk...
Dan Kegel
dank@...
Feb 13, 2000 12:24 am
33
... 'lack of disk threading'? Oh, do tell :) ... this only becomes a problem with lots of cpus and lots of interfaces.. you should be able to fill a gigabit...
Zach Brown
zab@...
Feb 13, 2000 2:51 pm
34
... Ops, I was wrong. 2.3.X improves SMP scalability of the disk subsystem. :-) Sorry for this mistake :-) ... Filling a gigabit pipe is not easy by any means,...
Beau Kuiper
ekuiperba@...
Feb 14, 2000 12:55 am
35
Hi, Under heavy load, strange things occur. System calls that have never failed may fail. Often these are not checked correctly and cause the server to crash. ...
Beau Kuiper
ekuiperba@...
Feb 13, 2000 12:56 am
36
Yeah, at one point I pointed out to the author that he really did need to check every system call's return value for errors. If there are still crashes going...
Dan Kegel
dank@...
Feb 14, 2000 1:33 am
37
... It also fixes the scalability in the network subsystem, _far_ more than in the disk. ... yes, tieing connection state to execution state is not the...
Zach Brown
zab@...
Feb 14, 2000 2:28 am
38
... But it makes writing programs easier to be honest :-) And generally safer. ... Well not exactly. The number of descriptors will always be a F(N) to the...
Beau Kuiper
ekuiperba@...
Feb 14, 2000 4:29 am
39
... this only is meaningful if the amount of data returned by your average poll is significantly related to the amount of data you fed in, which in practice is...
Zach Brown
zab@...
Feb 14, 2000 5:38 am
40
This doesn't add any functionality; it switches from a hand-written Makefile.in to one generated by automake, renames a file files and targets to conform to...
Dan Kegel
dank@...
Feb 21, 2000 6:39 am
41
Without any testing, I've released version 0.9 of dkftpbench. The only code change is a small one to handle_data_io, and is simply more correct error handling;...
Dan Kegel
dank@...
Mar 13, 2000 6:07 am
42
I did one final test before going to bed - I ran the client on a fast box, and the server on a slow one. It ran fine until it got to 126 clients: 126 users...
shane@...
Mar 13, 2000 6:42 am
43
... That's the best way to run it, actually, since dkftpbench is likely to be slower than a good ftp server. ... Don't be scared by the ugly log output -...
Dan Kegel
dank@...
Mar 13, 2000 12:45 pm
44
dkftpbench has helped me isolate a limit in the oftpd server. Right now oftpd creates two threads for each client connection: one to handle the control...
shane@...
Mar 14, 2000 5:19 am
45
... I suppose I could modify dklimits.c to probe to see how many threads can be created. (I wonder if that's dangerous?) ... The 2.4 kernel will raise that...