-
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

HP 2x 10GB OPNsense Quad Core i5-8500 8GB RAM 3Port Gigabit Firewall AES-NI SSD
$199.95

OPNsense Firewall 16-Core Atom C3958 16GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI
$195.00

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$145.00

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$258.00

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$229.99

Sophos XG 210 Rev. 3 Firewall Appliance – 8GB RAM / 128GB SSD – Tested & Reset
$149.99

SONICWALL TZ270 Network Security Base Appliance Only (02-SSC-2821) - Open Box
$195.00

Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot
$95.99