Re: SOLVED Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-26 Thread Simon Wong
On Sun, 2006-02-26 at 18:58 +1100, Robert Collins wrote: dd has a default read size of 1 byte. Try bs=4192 or something similar. OK, I gave it a shot and it actually slowed it down to 15 minutes, compared to netcat which took 5 minutes! It makes a /huge/ difference. I'm guessing it might take

SOLVED Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-25 Thread Simon Wong
The scenario: Server: Ubuntu Breezy Linux software RAID5 SATAII HDDs Gigabit LAN Client: Knoppix 3.8.2 (Live) (booted with knoppix 2 for cli) Acer Veriton 3500 P4, 256MB RAM, 20GB HDD 100Mbit LAN I have an image of an NTFS

Re: SOLVED Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-25 Thread Jamie Wilkinson
This one time, at band camp, Simon Wong wrote: # time ssh [EMAIL PROTECTED] cat client.img.gz | gunzip /dev/hda1 time reports a real time of 6 mins 1.8s (including ssh password entry)! There's still a slow down at the 1GB mark for about 12 seconds, then full speed transfer is

Re: SOLVED Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-25 Thread Simon Wong
On Sun, 2006-02-26 at 14:19 +1100, Jamie Wilkinson wrote: I was going to suggest using netcat, or disabling compression in SSH, because you're sending over a gzipped image so you might have experienced some slowdown (maybe the 50s difference between ssh and netcat) due to SSH compression maybe

Re: SOLVED Re: [SLUG] gunzip 1.3G file over ssh - crawling

2006-02-25 Thread Robert Collins
On Sun, 2006-02-26 at 13:07 +1000, Simon Wong wrote: Since, this is now happening within a reasonable length of time here's some more results: 1. Netcat + dd nc serverip 5030 | gunzip | dd of=/dev/hda1 time gives real 5m52s. So quite a bit slower than the redirect. dd has a