Hello,

> i've had this modified tftpd for some time now,
>       o - it's single threaded - runs as daemon and does not fork new children
Basically, I don't have any problems with the inetd startup. It can be
rate limited, etc.

>       o - it caches files
How? Doesn't leaving this job to the OS a smarter idea?

>       o - knows about some of the newer tftp stuff - mainly blocksize.
I think it's implemented in FreeBSD's tftpd too. (I can get 750 MB images
with TFTP easily).

My impression about this stuff:
compiled and started on an up-to-date FreeBSD STABLE BOX
(AthlonXP 1600+, 512MB DDR, two Intel PRO/100 with FEC)
The lab consists of 733 MHz Celerons with Intel PRO/100 and 128MB RAM.
The switch is a HP4000M.
With the FreeBSD tftpd I could only get around 40 Mbps out of this box,
the CPU usage was 100%. One client could fetch the stuff with an average
speed of 14-15 Mbps. I could stay at this speed with 4-5 machines,
fetching the images, after this count the bandwidth usage decreased per
machine.

With Danny's tftpd I could get 16-17 Mbps with one machine (this is what
the client says) and around 4 Mbps per client at a concurrency of 24
machines.
That's about 90-96 Mbps.

I will try do more benchmarks with an accurate method, once I could figure
out what should I use to measure the outgoing traffic to specific IP
addresses (a /24 subnet)...

BTW, FreeBSD's tftpd doesn't drop connections once it built up, while
there are some problems with Danny's implementation in this area, but I am
sure that this will be solved very soon.

--------[ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Images/ ]-------
Attila Nagy                                     e-mail: [EMAIL PROTECTED]
Free Software Network (FSN.HU)            phone @work: +361 210 1415 (194)
                                                cell.: +3630 306 6758



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to