![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I have a USB3-capable flash drive that holds a single 16GB fat32 partition. I need fat32 because this flash drive is used on OpenBSD, GNU/Linux, and also Windows (imposed at work). In the tests below I'm plugging this flash drive into the same USB2 port of my T400 ThinkPad.
When booted into my GNU/Linux partition, I can copy a 260 MB test file to this drive in 18 seconds. When booted into my OpenBSD 6.4 partition, it takes 120 seconds to copy the same file to the drive. I tried mounting the drive in OpenBSD with all of these commands, with similar results: Code:
# mount /dev/sd1i /home/bruno/usb # mount -o async /dev/sd1i /home/bruno/usb # mount_msdos -u bruno -g bruno /dev/sd1i /home/bruno/usb P.S. I also tried formatting the drive to ext3 (even though I can't keep it as ext3 for because of forced Windows at work) and got similar write speeds. |
|
|||
![]()
120 seconds? Is that all? When I first came to OpenBSD I tried copying files to USB sticks. The first 40MB would be fine, but after that it slowed to a crawl, and would take hours to copy 1GB. Very frustrating. After that I just used the network to copy files between different file systems.
OpenBSD doesn't have the resources of Linux, where big megacorps have their fingers in it. A small number of people work on it, it is security focused, and is designed to be a server. So if you transfer files the way it was designed to, you won't have any problems. If your issue Isn't resolved in this thread then copy the files to a second Win or Linux machine, and copy them to OpenBSD over the network. But 120 seconds isn't worth it. |
|
||||
![]()
Your speeds seem pretty normal (for OpenBSD), I dare say.
Code:
time cp test.img /mnt/ 2m11.16s real 0m00.00s user 0m01.84s system |
|
|||
![]()
Thank you very much, Prevet and fvgit. I assumed there was a problem with either my system or with my understanding, so you just saved me hours of troubleshooting and chasing my tail on this.
If this is part of the price to pay in order to use a secure and elegant system that is put together by scrupulous developers who are in no way beholden to megacorps, count me in! Thanks again for confirming that this is normal for OpenBSD. |
|
|||
![]()
Ayup - I can also confirm that OpenBSD writing to a USB widget is about 5 times slower than other systems. Why this is, I haven't the foggiest.
|
![]() |
Tags |
drive, flash, speed, usb, write |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which filesystem should I use for USB flash drive ? | bsd007 | OpenBSD General | 16 | 15th October 2018 06:59 PM |
formatting USB Flash Drive | amphibious | OpenBSD Installation and Upgrading | 4 | 20th April 2017 01:49 AM |
Creating USB flash drive drive image from FreeBSD disc1.iso | FBSD | Guides | 1 | 10th February 2010 04:42 PM |
Backup to USB flash drive | giga | FreeBSD General | 5 | 8th December 2008 11:06 PM |
USB flash drive | criglerj | NetBSD General | 1 | 26th July 2008 01:25 AM |