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...
Dan Kegel
dank@...
Mar 14, 2000 6:57 am
46
Hi, I am going to be running some throughput test and I think dkftpbench will be very helpful. I will be running these test under Solaris, 2.5.1 and maybe 8....
Henry Baez
hbaez@...
Apr 20, 2000 6:19 pm
47
... It looks like my webserver didn't have the right MIME type for .tgz, so I changed the filename to .tar.gz. Let me know if you can download this link...
Dan Kegel
dank@...
Apr 20, 2000 7:24 pm
48
Hi Dan, The tar.gz downloaded OK. ./configure seem to work without any problem. The machine I am working on has GNU make version 3.71 however the make does...
Henry Baez
hbaez@...
Apr 21, 2000 2:07 pm
49
... If you email your Makefile and the output of make (e.g. 'make > log.txt', then email Makefile and log.txt) to me at dank@..., maybe I can ...
Dan Kegel
dank@...
Apr 21, 2000 3:49 pm
50
Hi all, I have been throwing a new anonymous ftp server design around in my head for the last couple of days. This design should easily be able to scale to...
Beau Kuiper
kuiperba@...
Jul 21, 2000 9:12 am
51
... Cool. I'd be glad to help, and would like to see a high-powered server as secure as oftpd. :) One concern: I'm not exactly sure what mincore does, but...
shane@...
Jul 24, 2000 10:43 am
52
... Thanks, When I have a detailed design ready, I will contact you for help coding/testing. It will: - Use chrooted environment - Possibly run non-root if I...
Beau Kuiper
kuiperba@...
Jul 24, 2000 1:09 pm
53
... Apache and Samba are not in the Insane Performance (tux, IIS, zeus, netscape directory services) category. They're in the actually useful real world ...
Zach Brown
zab@...
Jul 24, 2000 2:41 pm
54
... mincore is available in many flavors of Unix (including Linux since 2.3.51 or so); see http://www.kegel.com/c10k.html#nb It's a way to avoid blocking while...
Dan Kegel
dank@...
Jul 24, 2000 4:21 pm
55
... The LSB suggests using only standard pthreads threading, I think, since Linux will be moving towards full pthreads compliance as time goes on. I have to...
Dan Kegel
dank@...
Jul 24, 2000 4:22 pm
56
... I just checked ftp.cdrom.com, and it allows 5000 simultaneous connections. Right now there aren't any FTP servers on Linux that can handle this load, so...
shane@...
Jul 24, 2000 4:39 pm
57
... what it allows and what it can handle are two entirely different things ... machine can handle much more than that. ... multiple cpus and handling blocking...
Zach Brown
zab@...
Jul 24, 2000 5:45 pm
58
Summary: Let's see what kind of components the design requires and we can revisit the thread vs. process issue. Has the design been started (that is, has it...
shane@...
Jul 25, 2000 8:06 am
59
... Mutex results under linux on a celeron-333: N = 1, Linux => 1843325 operations/sec N = 2, Linux => 1843606 operations/sec N = 3, Linux => 1825140...
Beau Kuiper
kuiperba@...
Jul 25, 2000 10:59 am
60
... Threads are a fine way to go. Beau's design sounds suspiciously like one I would try. Go for it, Beau! - Dan...
Dan Kegel
dank@...
Jul 25, 2000 2:34 pm
61
... I'm under the impression that he'd use a queue to feed I/O requests to the disk worker thread, and another queue to feed I/O completions back to the...
Dan Kegel
dank@...
Jul 25, 2000 3:10 pm
62
... It hasn't, unfortunately. I saw pieces of it while I was at Red Hat. but most of what it does could also be applied to FTP. In fact, they'd could...
Zach Brown
zab@...
Jul 25, 2000 3:27 pm
63
... [snip] ... Thanks for running the test. Actually, Solaris is quite fast, considering how slow a 360 MHz Sparc is (although this was a dual-cpu system, but...
shane@...
Jul 25, 2000 3:34 pm
64
... That will work well with ingo's thread/interface/cpu binding. ... If you want to add the functionality, perhaps this could do other 'disky' tasks like the...
Zach Brown
zab@...
Jul 25, 2000 3:51 pm
65
... Why use a lock per connection? Simply design it so only one thread ever accesses one connection's context object. I realize that there are many ways to...
Dan Kegel
dank@...
Jul 25, 2000 4:02 pm
66
... Yuck. I think that's fine for functionality. :) ... Okay, I've been chastised. As long as the network thread checks for timeout periodicaly, that's...
shane@...
Jul 25, 2000 4:30 pm
67
... Hmm...you're right. Maybe we could use semaphores after all. :) ... You can implement a message passing mechanism through function calls. Saying "the...
shane@...
Jul 25, 2000 4:53 pm
68
... Its nice and easy if you have a thread who uses poll to wait for fd events and timeouts: /* if we have timeouts pending, we should only * sleep until they...
Zach Brown
zab@...
Jul 25, 2000 5:51 pm
69
... Uh, yeah. But what I'm saying is that however you do it, it should be through a threadsafe queue. So if you do it by calling the 'file write complete'...
Dan Kegel
dank@...
Jul 26, 2000 12:18 am
70
... Yes, I will have a look at threadsafe queues. ... Yep, you never go through more threads than you really, really need to. There is no need to push network...