Re: tftp vs http for downloading big files
Matt Causey <[email protected]> Fri, 3 Jun 2011 16:52:48 -0700
| Newsgroups | gmane.network.etherboot.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 3, 2011 at 4:46 PM, H. Peter Anvin <[email protected]> wrote: > On 03/16/2011 01:54 PM, hai wu wrote: >> Just for downloading files like vmlinuz/initrd.img, wouldn't it be >> better to use tftp instead of using http when the image files would be >> very large? > > No, quite the opposite. > > tftp is very slow for anything but very small files (it is actually > quite efficient for files that only a few kilobytes or less.) > > =A0 =A0 =A0 =A0-hpa We run a large shop of thin clients that pull a 30meg ramdisk image at boot time, and for us the switch from tftp to http meant: * Faster download * Easier troubleshooting * Accurate download timing data from http server logfiles * More efficient resource usage at high volumes of transfers (50x concurrent transfers with tftp killed the server, whereas 100x concurrent transfers were handled with ease with apache) -- Matt ---------------------------------------------------------------------------= --- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. = http://p.sf.net/sfu/quest-dev2dev2 =