From: Maurice Batey on
Been using Knoppix 3.4 (2.4 kernel) running from DVD to write a
drive image to an external USB2 drive, but have realised it is abysmally
slow compared with the same command executed from within a resident SuSE
8.0 Pro system (by a factor of over 10x).

Anyone here know of anything similar to Knoppix 3.4 that has better
throughput to USB devices?
(E.g. the 2.6 kernel version of Knoppix 3.4?)

--
Maurice Batey (Retired in Surrey, UK)
(Remove 'removethis.' to reply by email)

From: Tony Houghton on
In <pan.2006.10.02.14.31.08.154926(a)bcs.removethis.org.uk>,
Maurice Batey <maurice(a)bcs.removethis.org.uk> wrote:

> Been using Knoppix 3.4 (2.4 kernel) running from DVD to write a
> drive image to an external USB2 drive, but have realised it is abysmally
> slow compared with the same command executed from within a resident SuSE
> 8.0 Pro system (by a factor of over 10x).
>
> Anyone here know of anything similar to Knoppix 3.4 that has better
> throughput to USB devices?
> (E.g. the 2.6 kernel version of Knoppix 3.4?)

What about a newer Knoppix? They seem to be up to version 5 now. How are
you copying the image? If the external drive is formatted and you're
saving an image file (or individual files) onto it, try this command:

mount -o remount,async /dev/sda1

Replace /dev/sda1 with whatever's appropriate for your device if
necessary.

According to man mount in Debian unstable sync/async only applies to
ext* and ufs nowadays, but I'm sure it used to apply to fat as well
until quite recently.

--
The address in the Reply-To is genuine and should not be edited.
See <http://www.realh.co.uk/contact.html> for more reliable contact addresses.
From: Chris on
Maurice Batey wrote:

> Been using Knoppix 3.4 (2.4 kernel) running from DVD to write a
> drive image to an external USB2 drive, but have realised it is
> abysmally slow compared with the same command executed from within a
> resident SuSE 8.0 Pro system (by a factor of over 10x).

Is Knoppix using USB1 vs USB2 in Suse? Only the more recent 2.4 kernels
had USB2 built-in. AFAICT you need either the OHCI or the UHCI driver
module loaded to get USB2 working.

> Anyone here know of anything similar to Knoppix 3.4 that has better
> throughput to USB devices?
> (E.g. the 2.6 kernel version of Knoppix 3.4?)
>

A newer version of Knoppix?

From: Maurice Batey on
On Mon, 02 Oct 2006 16:16:59 +0000, Tony Houghton wrote:

> How are you copying the image?

e.g. cat /dev/hda | gzip > /mnt/sda1/filename

> If the external drive is formatted and you're
> saving an image file (or individual files) onto it, try this command:
>
> mount -o remount,async /dev/sda1

The external USB2 drive is formatted with ReiserFS (to cope with huge
file sizes). Does your suggestion still hold?

--
Maurice Batey
(Remove 'removethis.' to reply by email)

From: Maurice Batey on
On Tue, 03 Oct 2006 11:18:26 +0100, Chris wrote:

> Is Knoppix using USB1 vs USB2 in Suse?

Well, I'm running Knoppix in RAM from a DVD, so SuSE doesn't come into
it!

>Only the more recent 2.4 kernels had USB2 built-in.

Ah, so the '2.6 kernel' version of Knoppix 3.4 might do the trick?
Thanks for the tip...

--
Maurice Batey
(Remove 'removethis.' to reply by email)