[opensuse-kde3] USB Transfer Speed
---------- Forwarded Message ----------
Subject: Re: [opensuse-kde3] USB Transfer Speed
Date: Wednesday 28 November 2012
From: Erik Sorenson
Have you mounted the USB stick with sync or flushed IO? You can find this under: Storage media-> right click on the USB stick-> properties-> mounting.
On Wednesday 28 November 2012, Erik Sorenson wrote:
Using 12.2_x86 with KDE3, and getting 100k/sec transferring (copying) files from my HDD over a USB2 port to a USB2 flash stick. The same file transfer in Mint14_x86 Cinnamon over the same port to the same device is about 6 mb/s, and in openSUSE 12.2_x86 with Cinamon DM gives the same 6mb/sec transfer. All are separate physical partitions, not VMs.
On the same PC using Windows 7_x64, over the same port to the same device, the write speed is also 6mb/s or more. Makes no difference to all of the results if the transfer originates from an ext4 or ntfs partition, or if the flash drive is formatted fat32 or ntfs, in both Windows and Linux. The files I tested are 600mb to 1.5 gig in size.
I was surprised about the transfer speed in KDE3, as I assumed all the USB functionality came from the kernel and not the desktop manager.
Any thoughts? -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
The extended properties are only in the pseudo filesystem: media:/ (at the moment I use trinity) In opensuse you can find the media:/ thing unter Go-> Storage Media On Wednesday 28 November 2012, Erik Sorenson wrote:
---------- Forwarded Message ----------
Subject: Re: [opensuse-kde3] USB Transfer Speed Date: Wednesday 28 November 2012 From: Erik Sorenson
To: update I inserted the flash stick, activated the desktop Storage Media icon, went to the inserted flash stick, right-clicked Properties, and only a normal two-tab dialogue box came up, i.e., only a General and a Permissions tab. Didn't see a Mounting thingy.
On Wednesday 28 November 2012 11:29:09 am you wrote:
Have you mounted the USB stick with sync or flushed IO? You can find this under: Storage media-> right click on the USB stick-> properties-> mounting.
On Wednesday 28 November 2012, Erik Sorenson wrote:
Using 12.2_x86 with KDE3, and getting 100k/sec transferring (copying) files from my HDD over a USB2 port to a USB2 flash stick. The same file transfer in Mint14_x86 Cinnamon over the same port to the same device is about 6 mb/s, and in openSUSE 12.2_x86 with Cinamon DM gives the same 6mb/sec transfer. All are separate physical partitions, not VMs.
On the same PC using Windows 7_x64, over the same port to the same device, the write speed is also 6mb/s or more. Makes no difference to all of the results if the transfer originates from an ext4 or ntfs partition, or if the flash drive is formatted fat32 or ntfs, in both Windows and Linux. The files I tested are 600mb to 1.5 gig in size.
I was surprised about the transfer speed in KDE3, as I assumed all the USB functionality came from the kernel and not the desktop manager.
Any thoughts?
-- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Tried, but doesn't show that way on my system. On Wednesday 28 November 2012 12:10:07 pm update wrote:
The extended properties are only in the pseudo filesystem: media:/ (at the moment I use trinity) In opensuse you can find the media:/ thing unter Go-> Storage Media
On Wednesday 28 November 2012, Erik Sorenson wrote:
---------- Forwarded Message ----------
Subject: Re: [opensuse-kde3] USB Transfer Speed Date: Wednesday 28 November 2012 From: Erik Sorenson
To: update I inserted the flash stick, activated the desktop Storage Media icon, went to the inserted flash stick, right-clicked Properties, and only a normal two-tab dialogue box came up, i.e., only a General and a Permissions tab. Didn't see a Mounting thingy.
On Wednesday 28 November 2012 11:29:09 am you wrote:
Have you mounted the USB stick with sync or flushed IO? You can find this under: Storage media-> right click on the USB stick-> properties-> mounting.
On Wednesday 28 November 2012, Erik Sorenson wrote:
Using 12.2_x86 with KDE3, and getting 100k/sec transferring (copying) files from my HDD over a USB2 port to a USB2 flash stick. The same file transfer in Mint14_x86 Cinnamon over the same port to the same device is about 6 mb/s, and in openSUSE 12.2_x86 with Cinamon DM gives the same 6mb/sec transfer. All are separate physical partitions, not VMs.
On the same PC using Windows 7_x64, over the same port to the same device, the write speed is also 6mb/s or more. Makes no difference to all of the results if the transfer originates from an ext4 or ntfs partition, or if the flash drive is formatted fat32 or ntfs, in both Windows and Linux. The files I tested are 600mb to 1.5 gig in size.
I was surprised about the transfer speed in KDE3, as I assumed all the USB functionality came from the kernel and not the desktop manager.
Any thoughts?
-- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Wednesday 28 November 2012, Erik Sorenson wrote:
Tried, but doesn't show that way on my system.
On Wednesday 28 November 2012 12:10:07 pm update wrote:
The extended properties are only in the pseudo filesystem: media:/ (at the moment I use trinity) In opensuse you can find the media:/ thing unter Go-> Storage Media
On Wednesday 28 November 2012, Erik Sorenson wrote:
---------- Forwarded Message ----------
Subject: Re: [opensuse-kde3] USB Transfer Speed Date: Wednesday 28 November 2012 From: Erik Sorenson
To: update I inserted the flash stick, activated the desktop Storage Media icon, went to the inserted flash stick, right-clicked Properties, and only a normal two-tab dialogue box came up, i.e., only a General and a Permissions tab. Didn't see a Mounting thingy.
On Wednesday 28 November 2012 11:29:09 am you wrote:
Have you mounted the USB stick with sync or flushed IO? You can find this under: Storage media-> right click on the USB stick-> properties-> mounting.
On Wednesday 28 November 2012, Erik Sorenson wrote:
Using 12.2_x86 with KDE3, and getting 100k/sec transferring (copying) files from my HDD over a USB2 port to a USB2 flash stick. The same file transfer in Mint14_x86 Cinnamon over the same port to the same device is about 6 mb/s, and in openSUSE 12.2_x86 with Cinamon DM gives the same 6mb/sec transfer. All are separate physical partitions, not VMs.
On the same PC using Windows 7_x64, over the same port to the same device, the write speed is also 6mb/s or more. Makes no difference to all of the results if the transfer originates from an ext4 or ntfs partition, or if the flash drive is formatted fat32 or ntfs, in both Windows and Linux. The files I tested are 600mb to 1.5 gig in size.
I was surprised about the transfer speed in KDE3, as I assumed all the USB functionality came from the kernel and not the desktop manager.
Any thoughts?
What is the output of mount? -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/28/2012 07:36 PM, Erik Sorenson wrote:
Tried, but doesn't show that way on my system.
On Wednesday 28 November 2012 12:10:07 pm update wrote:
The extended properties are only in the pseudo filesystem: media:/ (at the moment I use trinity) In opensuse you can find the media:/ thing unter Go-> Storage Media
On Wednesday 28 November 2012, Erik Sorenson wrote:
---------- Forwarded Message ----------
Subject: Re: [opensuse-kde3] USB Transfer Speed Date: Wednesday 28 November 2012 From: Erik Sorenson
To: update I inserted the flash stick, activated the desktop Storage Media icon, went to the inserted flash stick, right-clicked Properties, and only a normal two-tab dialogue box came up, i.e., only a General and a Permissions tab. Didn't see a Mounting thingy.
On Wednesday 28 November 2012 11:29:09 am you wrote:
Have you mounted the USB stick with sync or flushed IO? You can find this under: Storage media-> right click on the USB stick-> properties-> mounting.
On Wednesday 28 November 2012, Erik Sorenson wrote:
Using 12.2_x86 with KDE3, and getting 100k/sec transferring (copying) files from my HDD over a USB2 port to a USB2 flash stick. The same file transfer in Mint14_x86 Cinnamon over the same port to the same device is about 6 mb/s, and in openSUSE 12.2_x86 with Cinamon DM gives the same 6mb/sec transfer. All are separate physical partitions, not VMs.
On the same PC using Windows 7_x64, over the same port to the same device, the write speed is also 6mb/s or more. Makes no difference to all of the results if the transfer originates from an ext4 or ntfs partition, or if the flash drive is formatted fat32 or ntfs, in both Windows and Linux. The files I tested are 600mb to 1.5 gig in size.
I was surprised about the transfer speed in KDE3, as I assumed all the USB functionality came from the kernel and not the desktop manager.
Any thoughts?
Erik, Could be the same issue I had with external USB disk since 12.1. Check the file /opt/kde3/share/config/udisks-glue.conf Try removing automount_options = { sync, noatime } In my case it helped. (sync option causes syncing after each write). - -- Mark Goldstein -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQtlAfAAoJEKWTiqSclQacuxEH/0oqOmS9QbLyKbB9FNOnSYKH hK4wMEFEti9YckrUXlO1ytsws5jPWNhZ7TO5+nYl101gmlt32HQGfP/7Jxvt6oO5 VCb+r2hHn8a1NcmL090tzYbhl6Re/dachzOx3XDLPuO3hiWgPcm2YA90Tx76GfPz TLqbTkt5q1UVCb0wf6eVGl283e9iUWK507B0OeROdn17RNhTiPQJofdxwm0vKW+t f8W2s45Lr+He9k3z5U2k6GcIpiu4/4uAo9cjMPeBre0jZQhP+byz2QuqaqdFHMop CN75DHa53/U3SEczvNL6ruyAVDyBVcj4AhZgX//beMWidffpZvTM2A/bQscu0fo= =UakQ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Wednesday 28 November 2012 12:55:43 pm Mark Goldstein wrote:
Could be the same issue I had with external USB disk since 12.1. Check the file /opt/kde3/share/config/udisks-glue.conf Try removing automount_options = { sync, noatime } In my case it helped. (sync option causes syncing after each write).
-- Mark Goldstein
YES! I removed the line in my file, logged out/in, and tried the test transfer again. Right away it started at 6mb/s, ranging up to 7, a real difference from the previous, abysmal 100k/s. Thanks muchly, Mark! Ilya, it's obvious that something in a KDE3 implementation installs this /opt/kde3/share/config/udisks-glue.conf file. Can you amend it to delete the offending line, if that's the "proper" fix for slow USB transfer speeds? Thanks to all. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Wednesday 28 November 2012 22:38:44 Erik Sorenson wrote:
Could be the same issue I had with external USB disk since 12.1. Check the file /opt/kde3/share/config/udisks-glue.conf Try removing automount_options = { sync, noatime } In my case it helped. (sync option causes syncing after each write).
-- Mark Goldstein
YES! I removed the line in my file, logged out/in, and tried the test transfer again. Right away it started at 6mb/s, ranging up to 7, a real difference from the previous, abysmal 100k/s. Thanks muchly, Mark!
Ilya, it's obvious that something in a KDE3 implementation installs this /opt/kde3/share/config/udisks-glue.conf file. Can you amend it to delete the offending line, if that's the "proper" fix for slow USB transfer speeds?
It seems that the 6 Mb/s speed that you see in onther software is not the real device tranfer rate but the transfer rate to the cache. When sync option is on, you see the real transfer rate. Note that even if you see the 6 Mb/s transfer rate reported, you in reality cannot unplug the device before all the data is written with real speed. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Wednesday 28 November 2012 2:00:39 pm Ilya Chernykh wrote:
It seems that the 6 Mb/s speed that you see in onther software is not the real device tranfer rate but the transfer rate to the cache.
When sync option is on, you see the real transfer rate.
Note that even if you see the 6 Mb/s transfer rate reported, you in reality cannot unplug the device before all the data is written with real speed.
Using both Konquerer, and the cp command in a terminal, before making Mark's suggested change to udisks-glue.conf, I cut short the test transfer of a 700 mb (movie) file after 4 minutes, and the filesize of the infomation that had been transferred during that 4 minutes (at 100kb/s) was only 27.6 mb. After applying Mark's "fix", the transfer took only about 1:20 minutes for all 700 mb, I immediately played the start and end of the movie off the flash drive after the "copying" window closed at 1:20, and the file manager showed the full 700 mb file size on the flash drive. So I don't know about cache vs real transfer to the device, but Mark's line deletion really works! -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Wednesday 28 November 2012, Erik Sorenson wrote:
On Wednesday 28 November 2012 2:00:39 pm Ilya Chernykh wrote:
It seems that the 6 Mb/s speed that you see in onther software is not the real device tranfer rate but the transfer rate to the cache.
When sync option is on, you see the real transfer rate.
Note that even if you see the 6 Mb/s transfer rate reported, you in reality cannot unplug the device before all the data is written with real speed.
Using both Konquerer, and the cp command in a terminal, before making Mark's suggested change to udisks-glue.conf, I cut short the test transfer of a 700 mb (movie) file after 4 minutes, and the filesize of the infomation that had been transferred during that 4 minutes (at 100kb/s) was only 27.6 mb.
After applying Mark's "fix", the transfer took only about 1:20 minutes for all 700 mb, I immediately played the start and end of the movie off the flash drive after the "copying" window closed at 1:20, and the file manager showed the full 700 mb file size on the flash drive.
So I don't know about cache vs real transfer to the device, but Mark's line deletion really works!
With hal-enabled kde3 the configuration of the mount options sync and flush are exposed to the user interface. Do you have a working "safely remove" of the device without hal-enabled kde3? -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
On Wednesday 28 November 2012 3:03:59 pm update wrote:
With hal-enabled kde3 the configuration of the mount options sync and flush are exposed to the user interface. Do you have a working "safely remove" of the device without hal-enabled kde3?
Yes, by clicking on the Storage Media icon on my desktop (essentially a shortcut to System > Storage Media in Konq), I can Safely Romove by right-clicking on the (flash) device. And, no, I'm not using any HAL-enable repo/programs in my 12.2 installs. I stopped that after 12.1. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
Now, if I could just figure out why all my 12.2 installs don't recognize my USB3 ports at all, while Win7 and Mint 14 Cinnamon do! Is it a 12.2 kernel thingy that will be addressed in 12.3? -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
BTW, here's an extract from the messages log in /var/log about the insertion and copying phase: Nov 28 08:47:02 s122k3prod nit] pop3 /tmp/ksocket-root/klauncherdNrEvH.slave: DIGEST-MD5 common mech free Nov 28 08:47:42 s122k3prod nit] last message repeated 2 times Nov 28 09:08:19 s122k3prod smartd[1799]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 253 to 200 Nov 28 09:38:19 s122k3prod smartd[1799]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 200 to 187 Nov 28 09:52:36 s122k3prod kernel: usb 2-1.2: new high-speed USB device number 3 using ehci_hcd Nov 28 09:52:36 s122k3prod kernel: usb 2-1.2: New USB device found, idVendor=0951, idProduct=1643 Nov 28 09:52:36 s122k3prod kernel: usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Nov 28 09:52:36 s122k3prod kernel: usb 2-1.2: Product: DataTraveler G3 Nov 28 09:52:36 s122k3prod kernel: usb 2-1.2: Manufacturer: Kingston Nov 28 09:52:36 s122k3prod kernel: usb 2-1.2: SerialNumber: 0019E06B5878BBB0279800B3 Nov 28 09:52:42 s122k3prod mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2" Nov 28 09:52:42 s122k3prod mtp-probe: bus: 2, device: 3 was not an MTP device Nov 28 09:52:36 s122k3prod kernel: Initializing USB Mass Storage driver... Nov 28 09:52:36 s122k3prod kernel: scsi6 : usb-storage 2-1.2:1.0 Nov 28 09:52:36 s122k3prod kernel: usbcore: registered new interface driver usb-storage Nov 28 09:52:36 s122k3prod kernel: USB Mass Storage support registered. Nov 28 09:52:37 s122k3prod kernel: scsi 6:0:0:0: Direct-Access Kingston DataTraveler G3 PMAP PQ: 0 ANSI: 0 CCS Nov 28 09:52:37 s122k3prod kernel: sd 6:0:0:0: Attached scsi generic sg3 type 0 Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] 15638528 512-byte logical blocks: (8.00 GB/7.45 GiB) Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] Write Protect is off Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00 Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] No Caching mode page present Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write through Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] No Caching mode page present Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write through Nov 28 09:52:38 s122k3prod kernel: sdb: sdb1 Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] No Caching mode page present Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] Assuming drive cache: write through Nov 28 09:52:38 s122k3prod kernel: sd 6:0:0:0: [sdb] Attached SCSI removable disk Nov 28 09:52:45 s122k3prod udisksd[2156]: Error opening /etc/crypttab file: Failed to open file '/etc/crypttab': No such file or directory (g-file-error-quark, 4) Nov 28 09:53:02 s122k3prod udisksd[2156]: last message repeated 2 times Nov 28 09:53:02 s122k3prod su: (to root) root on /dev/pts/1 Nov 28 09:59:46 s122k3prod udisksd[2156]: Error opening /etc/crypttab file: Failed to open file '/etc/crypttab': No such file or directory (g-file-error-quark, 4) Nov 28 09:59:46 s122k3prod udisksd[2156]: Unmounted /dev/sdb1 on behalf of uid 0 Nov 28 09:59:39 s122k3prod kernel: eject: sending ioctl 5309 to a partition! Nov 28 09:59:39 s122k3prod kernel: eject: sending ioctl 5309 to a partition! Nov 28 09:59:39 s122k3prod kernel: sdb: detected capacity change from 8006926336 to 0 Nov 28 09:59:46 s122k3prod udisksd[2156]: Error opening /etc/crypttab file: Failed to open file '/etc/crypttab': No such file or directory (g-file-error-quark, 4) Nov 2 I had also added onto a comparable bugzilla report earlier, but changed to the kde3 maillist because the problem only seemed to manifest in a KDE3 install; the bugzilla report is at: https://bugzilla.novell.com/show_bug.cgi?id=784987 On Wednesday 28 November 2012 11:55:38 am Erik Sorenson wrote:
---------- Forwarded Message ----------
Subject: Re: [opensuse-kde3] USB Transfer Speed Date: Wednesday 28 November 2012 From: Erik Sorenson
To: update I inserted the flash stick, activated the desktop Storage Media icon, went to the inserted flash stick, right-clicked Properties, and only a normal two-tab dialogue box came up, i.e., only a General and a Permissions tab. Didn't see a Mounting thingy.
On Wednesday 28 November 2012 11:29:09 am you wrote:
Have you mounted the USB stick with sync or flushed IO? You can find this under: Storage media-> right click on the USB stick-> properties-> mounting.
On Wednesday 28 November 2012, Erik Sorenson wrote:
Using 12.2_x86 with KDE3, and getting 100k/sec transferring (copying) files from my HDD over a USB2 port to a USB2 flash stick. The same file transfer in Mint14_x86 Cinnamon over the same port to the same device is about 6 mb/s, and in openSUSE 12.2_x86 with Cinamon DM gives the same 6mb/sec transfer. All are separate physical partitions, not VMs.
On the same PC using Windows 7_x64, over the same port to the same device, the write speed is also 6mb/s or more. Makes no difference to all of the results if the transfer originates from an ext4 or ntfs partition, or if the flash drive is formatted fat32 or ntfs, in both Windows and Linux. The files I tested are 600mb to 1.5 gig in size.
I was surprised about the transfer speed in KDE3, as I assumed all the USB functionality came from the kernel and not the desktop manager.
Any thoughts? -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde3+owner@opensuse.org
participants (4)
-
Erik Sorenson
-
Ilya Chernykh
-
Mark Goldstein
-
update