Subject: Re: pipe performance [was: CVS commit: basesrc (fwd)]
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-help
Date: 01/21/2000 01:40:44
>I saw the commit below, and maybe you can help me with some performance
>tuning... I have a bootfloppy that I use to install gzipped disk images
>via FTP. I install them with:
>
>ftp -o "|gunzip|dd bs=1m progress=1 of=/dev/rwd0d" ftp://install@${host}/rwd0d.gz
>
>When the image is written to disk, I get stats from FTP saying that it
>pulled at around 600kb/s, which seems very slow, given that the NIC and
>FTP server can do 100MBd (and do, in other configurations). This is with
>a NetBSD 1.4.1 kernel. The disk can't be the problem either, it's a Maxtor
>92048D8 IDE disk (in a PIII-500, i.e. i386). 

i'd be guessing that perhaps the ftp is blocking writing to the pipe?
that would lower down ftp's idea of a throughput rate.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."