-
Senior Member
registered user
PDI issue -> USB issue?

Originally Posted by
heiby
I found that whether I tried creating the image file in-place on my USB memory stick, or tried to copy the 32M file onto it from my HD, it sat there interminably trying to sync all of the information out.
What you describe suggests that the problem is not with the script that creates the image but rather with the USB device. Perhaps its using USB1.1, although even at 12 Mbps, copying should only take about 30 seconds. Can someone stick in a USB stick and try a simple write test? For example:
Code:
mount /mnt/uba1
cd /mnt/uba1/
file.test () { dd if=/dev/zero of=foo.usb.test bs=1k count=$1 ; sync; }
sync
time -p file.test 10
sync
time -p file.test 100
sync
time -p file.test 1000
What were the results?
Regards,
- Robert
http://www.cwelug.org/~rwcitek
-
Senior Member
registered user
Re: PDI issue -> USB issue?

Originally Posted by
rwcitek
Can someone stick in a USB stick and try a simple write test?
Had a spare moment to fire up Knoppix and test the USB write performance:
Code:
root@2[uba1]# rw.test () { dd if=/dev/zero of=rw.test.$$ bs=1k count=$1 ; sync ; }
root@2[uba1]# sync ; time -p rw.test 10
10+0 records in
10+0 records out
10240 bytes transferred in 0.000254 seconds (40302038 bytes/sec)
real 0.65
user 0.00
sys 0.00
root@2[uba1]# sync ; time -p rw.test 100
100+0 records in
100+0 records out
102400 bytes transferred in 0.000894 seconds (114545258 bytes/sec)
real 1.29
user 0.00
sys 0.00
root@2[uba1]# sync ; time -p rw.test 1000
1000+0 records in
1000+0 records out
1024000 bytes transferred in 0.017315 seconds (59139134 bytes/sec)
real 9.70
user 0.00
sys 0.02
1 MB/ 10 sec = 0.1 MB/sec
So, 256 MB would take about 40 minutes. That is indeed a long time.
Regards,
- Robert
http://www.cwelug.org/~rwcitek
Similar Threads
-
By in forum General Support
Replies: 0
Last Post: 02-08-2007, 06:18 PM
-
By illu45 in forum General Support
Replies: 2
Last Post: 01-31-2006, 02:23 PM
-
By babelbrennt in forum Customising & Remastering
Replies: 3
Last Post: 10-30-2005, 07:29 PM
-
By pacho in forum Customising & Remastering
Replies: 0
Last Post: 11-13-2003, 08:56 PM
-
By quantuumdot in forum Ideas
Replies: 0
Last Post: 09-10-2003, 04:46 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$39.99

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

~NIB~ Netgear GS728TPP-300NAS V3 24 PORT GIGABIT POE MNGD W. 4 SFP PORTS
$349.95

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears
$104.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

Monoprice 5-Port 10/100/1000Mbps Gigabit Ethernet Unmanaged Switch Network Hub
$8.99

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP
$127.00