Mailinglist Archive: opensuse (982 mails)

< Previous Next >
Re: [opensuse] write several usb flash keys at once
Hash: SHA1

On 2014-09-07 10:02, jdd wrote:
Le 06/09/2014 22:48, jdd a écrit :


dd bs=4096

Other concoction:

cp /data/.../openSUSE-13.1-DVD-x86_64.iso /dev/disk/by-id/usb-...

one needs to *not* use the "part1" part (two choices, with and
without). It's pretty obvious, but the iso have to be written on
the disk, not the first partition.

Of course! Where did you get the idea that you could write one of the
partitions? It is always, and always has been, write the whole iso
file to the whole destination device.

On 2014-09-07 10:04, jdd wrote:> Le 07/09/2014 10:02, jdd a écrit :

I could write 6 device at the same time, in approx 20 mn,
including typing the

and... do not expect to work on your computer during the write, 6
writes makes a huge stress on the system (i5, 8Gb ram).

I would indeed expect to be able to continue using the computer, it
should be no stress at all. USB 2 can transfer 480 Mbit/s maximum and
total, about 50 MB/s. A good hard disk can provide double than that,
so the slow component here is the USB. The rest of the time the system
is just waiting for the USB to be ready again, which on a good design
means doing something else (assuming that the chipset does "command
and forget" things without CPU).

However, a good motherboard can have multiple USB controllers, and
each one can provide the max speed on the bus connected to it...
Meaning that the total speed can go way over that 50MB/s in that
configuration. Then, the internal/main hard disk would be the slow
component in the mix, and the system would crawl... But you were using
a hub, so this can not be the case at all.

In that case, I would do the copy process with both nice and ionice in
the line:

nice ionice -c Idle cp /data/.../openSUSE-13.1-DVD-x86_64.iso \

It will take longer, but you can use the machine. It the cpu load
maxes (it should not) then you can use "cpulimit" instead.

But considering you were using a hub, thus a single controller, I see
no reason for the impact on the machine.

- --
Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)
Version: GnuPG v2.0.22 (GNU/Linux)

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups