Extremely slow Data transfer to Samba shares, USB Drives, NTFS Partitions
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Extremely slow Data transfer to Samba shares, USB Drives, NTFS Partitions
I am trying to setup an old Toshiba Satellite 2410 for work. Trouble is, data transfer be it of any kind is extremely slow. Writing to Samba shares maxs out at 1MBPS (on Gigabit Ethernet), writing a 700MB file to a USB Stick/PenDrive takes half an hour, it takes a similar amount of time to write to a NTFS Partition too, to make matters worse writing large files to NTFS Partitions leads to continuous 100% CPU Utilization!
The laptop had Windows XP installed initially and all of the above were working much much faster.
Debian 6 running stock Kernel (2.6.32-5-686).
I've tried to gather as much information as i can about the hardware below:
mount -l
Code:
debian@deb6:~$ mount -l
/dev/sda3 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda5 on /media/Oracle type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) [Oracle]
/dev/sda1 on /media/D62CD6A82CD68343 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdb1 on /media/SANDISK type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush) [SANDISK]
lsusb
Code:
debian@deb6:~$ lsusb
Bus 002 Device 017: ID 0951:1607 Kingston Technology DataTraveler 100
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 046e:52c3 Behavior Tech. Computer Corp.
Bus 001 Device 002: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmidecode
Code:
# dmidecode 2.9
SMBIOS 2.3 present.
42 structures occupying 1260 bytes.
Table at 0x000EC000.
Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
Vendor: TOSHIBA
Version: Version 1.40
Release Date: 01/09/2003
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 512 kB
Characteristics:
ISA is supported
PCI is supported
PC Card (PCMCIA) is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
VLB is supported
Boot from CD is supported
Selectable boot is supported
Boot from PC Card (PCMCIA) is supported
EDD is supported
Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
3.5"/720 KB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
AGP is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Handle 0x0001, DMI type 1, 25 bytes
System Information
Manufacturer: TOSHIBA
Product Name: Satellite 2410
Version: PS241L-5Y340P
Serial Number: 43124808P
UUID: 0B4CB600-7945-11D7-8024-D9C543124808
Wake-up Type: Other
Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: TOSHIBA
Product Name: Portable PC
Version: Version A0
Serial Number: 0000000000
Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
Manufacturer: TOSHIBA
Type: Notebook
Lock: Not Present
Version: Version 1.0
Serial Number: 00000000
Asset Tag: 0000000000
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Handle 0x0004, DMI type 4, 32 bytes
Processor Information
Socket Designation: uFC-PGA Socket
Type: Central Processor
Family: Pentium 4
Manufacturer: Intel Corporation
ID: 27 0F 00 00 00 00 00 00
Signature: Type 0, Family 15, Model 2, Stepping 7
Flags: None
Version:
Voltage: 1.3 V
External Clock: 100 MHz
Max Speed: 1800 MHz
Current Speed: 1800 MHz
Status: Populated, Enabled
Upgrade: ZIF Socket
L1 Cache Handle: 0x0012
L2 Cache Handle: 0x0013
L3 Cache Handle: Not Provided
Handle 0x0009, DMI type 5, 20 bytes
Memory Controller Information
Error Detecting Method: None
Error Correcting Capabilities:
None
Supported Interleave: Other
Current Interleave: Other
Maximum Memory Module Size: 512 MB
Maximum Total Memory Size: 1024 MB
Supported Speeds:
Other
Supported Memory Types:
Other
DIMM
SDRAM
Memory Module Voltage: 2.9 V
Associated Memory Slots: 2
0x000A
0x000B
Enabled Error Correcting Capabilities:
None
Handle 0x000A, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: SO-DIMM
Bank Connections: 0 1
Current Speed: 8 ns
Type: Other DIMM SDRAM
Installed Size: 1024 MB (Single-bank Connection)
Enabled Size: 1024 MB (Single-bank Connection)
Error Status: OK
Handle 0x000B, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: SO-DIMM
Bank Connections: 2 3
Current Speed: 8 ns
Type: Other DIMM SDRAM
Installed Size: 256 MB (Single-bank Connection)
Enabled Size: 256 MB (Single-bank Connection)
Error Status: OK
Handle 0x0012, DMI type 7, 19 bytes
Cache Information
Socket Designation: CPU Internal
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 8 KB
Maximum Size: 8 KB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: 1 ns
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 4-way Set-associative
Handle 0x0013, DMI type 7, 19 bytes
Cache Information
Socket Designation: CPU Internal
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 512 KB
Maximum Size: 512 KB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: 1 ns
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown
Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: PARALLEL PORT
External Connector Type: DB-25 female
Port Type: Parallel Port ECP
Handle 0x0017, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: EXTERNAL MONITOR PORT
External Connector Type: DB-15 female
Port Type: Other
Handle 0x0019, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: BUILT-IN MODEM PORT
External Connector Type: RJ-11
Port Type: Modem Port
Handle 0x001A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: BUILT-IN LAN PORT
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x001C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: INFRARED PORT
External Connector Type: Infrared
Port Type: Other
Handle 0x001D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: USB PORT
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x001E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: USB PORT
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x001F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: USB PORT
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x0020, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: HEADPHONE JACK
External Connector Type: Mini Jack (headphones)
Port Type: Other
Handle 0x0021, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: 1394 PORT
External Connector Type: IEEE 1394
Port Type: Firewire (IEEE P1394)
Handle 0x0022, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: MICROPHONE JACK
External Connector Type: Other
Port Type: Other
Handle 0x0023, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator:
Internal Connector Type: None
External Reference Designator: VIDEO-OUT JACK
External Connector Type: Other
Port Type: Other
Handle 0x0037, DMI type 9, 13 bytes
System Slot Information
Designation: PCMCIA0
Type: 32-bit PC Card (PCMCIA)
Current Usage: In Use
Length: Other
ID: Adapter 1, Socket 0
Characteristics:
5.0 V is provided
3.3 V is provided
PC Card-16 is supported
Cardbus is supported
Modem ring resume is supported
Hot-plug devices are supported
Handle 0x0038, DMI type 9, 13 bytes
System Slot Information
Designation: PCMCIA1
Type: 32-bit PC Card (PCMCIA)
Current Usage: In Use
Length: Other
ID: Adapter 2, Socket 0
Characteristics:
5.0 V is provided
3.3 V is provided
PC Card-16 is supported
Cardbus is supported
Modem ring resume is supported
Hot-plug devices are supported
Handle 0x0039, DMI type 9, 13 bytes
System Slot Information
Designation: SD CARD
Type: Other
Current Usage: In Use
Length: Other
Characteristics:
3.3 V is provided
Hot-plug devices are supported
Handle 0x0058, DMI type 10, 16 bytes
On Board Device 1 Information
Type: Other
Status: Enabled
Description: MODEM
On Board Device 2 Information
Type: Other
Status: Enabled
Description: USB
On Board Device 3 Information
Type: Video
Status: Enabled
Description: VIDEO
On Board Device 4 Information
Type: Ethernet
Status: Enabled
Description: ETHERNET
On Board Device 5 Information
Type: Sound
Status: Enabled
Description: SOUND
On Board Device 6 Information
Type: Other
Status: Enabled
Description: 1394
Handle 0x0059, DMI type 11, 5 bytes
OEM Strings
String 1: PS241L-5Y340P,PMPR4L5Y340ATATT/S3A1192D001
Handle 0x0069, DMI type 12, 5 bytes
System Configuration Options
Option 1: TOSHIBA
Handle 0x0080, DMI type 15, 23 bytes
System Event Log
Area Length: 124 bytes
Header Start Offset: 0x0000
Data Start Offset: 0x0000
Access Method: General-purpose non-volatile data functions
Access Address: 0x0003
Status: Valid, Not Full
Change Token: 0x00000000
Header Format: No Header
Supported Log Type Descriptors: 0
Handle 0x0081, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 1 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0082, DMI type 17, 23 bytes
Memory Device
Array Handle: 0x0081
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: SODIMM
Set: Unknown
Locator: DIMM 0
Bank Locator: CSA 0 & 1
Type: SDRAM
Type Detail: Synchronous
Speed: Unknown
Handle 0x0083, DMI type 17, 23 bytes
Memory Device
Array Handle: 0x0081
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 256 MB
Form Factor: SODIMM
Set: Unknown
Locator: DIMM 1
Bank Locator: CSA 2 & 3
Type: SDRAM
Type Detail: Synchronous
Speed: Unknown
Handle 0x0090, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000000A03FF
Range Size: 641 kB
Physical Array Handle: 0x0081
Partition Width: 0
Handle 0x0091, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000100000
Ending Address: 0x0004FFE03FF
Range Size: 1309569 kB
Physical Array Handle: 0x0081
Partition Width: 0
Handle 0x00A0, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000000A03FF
Range Size: 641 kB
Physical Device Handle: 0x0082
Memory Array Mapped Address Handle: 0x0090
Partition Row Position: 1
Handle 0x00A1, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x000400003FF
Range Size: 1048577 kB
Physical Device Handle: 0x0082
Memory Array Mapped Address Handle: 0x0091
Partition Row Position: 1
Handle 0x00A2, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00040000000
Ending Address: 0x000500003FF
Range Size: 262145 kB
Physical Device Handle: 0x0083
Memory Array Mapped Address Handle: 0x0091
Partition Row Position: 1
Handle 0x00B0, DMI type 21, 7 bytes
Built-in Pointing Device
Type: Touch Pad
Interface: PS/2
Buttons: 2
Handle 0x00B1, DMI type 22, 26 bytes
Portable Battery
Location: 1st Battery
Manufacturer: TOSHIBA
Manufacture Date: 03/27/96
Serial Number: 2000117236
Name: <BAD INDEX>
Chemistry: Lithium Ion
Design Capacity: 0 mWh
Design Voltage: 10800 mV
SBDS Version: Not Specified
Maximum Error: Unknown
OEM-specific Information: 0x00000000
Invalid entry length (0). DMI table is broken! Stop.
I've noticed that USB Reads & Writes (even those to NTFS partitions on the same hard disk as /) seem to max out at 1mbps. Writes to Samba shares are better off with speed upto 5mpbs (on a gigabit LAN).
is there anything that can be done to improve this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.