Ok, this is the original dd command of savepart script, but with bs=1m:

dd if=/dev/${disk}d bs=1m count=$size skip=$offset \
| gzip -9 \
| progress dd of=$file

running the script this way gave me a transfer rate about 800kbs...and
changing the gzip option to 1 didn't make it any better...

so, i tried to remove gzip command to see if the problem was compressing
...this is the command:

dd if=/dev/${disk}d bs=1m count=$size skip=$offset \
| progress dd of=$file

running it on netbsd gives me a transfer rate of ~5MBs:
$ sh savepart wd0 e image

but if i boot g4u kernel, and try to make write this file in the fat
partition the transfer rate stands around 1MBs, this is the script:
$ mkdir /mnt/fat
$ mount /dev/wd0f
$ savepart wd0 e /mnt/fat/image

I guess it's it.

Fernando Witzke

2007/11/9, Hubert Feyrer <[EMAIL PROTECTED]>:
>
> On Fri, 9 Nov 2007, Fernando Witzke wrote:
> > I'll try to explain better: i have a computer with 2 partitions... I'm
> > trying to create a copy of the first partition and save it in the
> second...
> > running the script in netbsd, the script runs good...
> > when i boot the g4u kernel, firstly i mount the second partition at /mnt
> > (it's a FAT partition)... then i tell the script to save the file into
> /mnt
> > ... when this occurs the performance goes bad...
> > don't know if you got it...
> > thanks anyway...
>
> Can you show the exact commands you use in both cases?
> I have an idea of what's going on...
>
>
>   - Hubert
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
g4u-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/g4u-help

Reply via email to