PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 05:59:05 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: SATA drive is sloooooow...?!?  (Read 388 times)
QQ_ghost
Full Member
***
Offline Offline

Posts: 119



WWW
« on: September 28, 2011, 01:49:08 PM »

All my data transfers to/from my SATA drive are done at <15MB/sec, how do I improve this?

board: K9N6PGM2-V2 (MSI)
CPU: AMD Athlon 64X2
RAM: 2GB
SDB: 1.5TB SATA II

EDIT: just copying a file on on the drive is at 10MB/sec.
Logged

"I don't care how meaty he is, I'm not getting my weather from a urologist!"
- - - - - - - - - - - - - - - - - - - - - - - - -
--Linux counter--
user:406047
310918   TIGERSERVER
411624   termserv
429752   lappy1
411625   jdxbox (Xebian 1.1.4)  www.xbox-linux.org/
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5714


I don't do Windows


« Reply #1 on: September 28, 2011, 01:50:32 PM »

Is your BIOS set for IDE or AHCI?
Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
QQ_ghost
Full Member
***
Offline Offline

Posts: 119



WWW
« Reply #2 on: September 28, 2011, 01:53:13 PM »

Where would I find that? I've never seen a setting for something like that.
...And what does it do?
Logged

"I don't care how meaty he is, I'm not getting my weather from a urologist!"
- - - - - - - - - - - - - - - - - - - - - - - - -
--Linux counter--
user:406047
310918   TIGERSERVER
411624   termserv
429752   lappy1
411625   jdxbox (Xebian 1.1.4)  www.xbox-linux.org/
T6
Super Villain
******
Offline Offline

Posts: 17005


i can rest now :D


« Reply #3 on: September 28, 2011, 02:04:33 PM »

ideally should be 20 or 30 mbps isn't?  the mainboard is sata II capable

transfer form where to where?  copy inside the hard disk to another place rarely is a fast task, copy to a external media depends on the usb port used and the usb device used

please describe with detal howyou get this speed and the hardware used to see this values

a friend has one of those and that is the speed i get more or less in windows xp when i fix it copying files from/to a external usb drive

if i remember well, this mainboard doesn't have this ahci setting

"Where would I find that? I've never seen a setting for something like that.
...And what does it do?"

in the bios of your mainboard, press del button when you see the mainboard booting to enter bios
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
QQ_ghost
Full Member
***
Offline Offline

Posts: 119



WWW
« Reply #4 on: September 28, 2011, 02:31:09 PM »

As far as I have seen, there is no "IDE or AHCI" setting in BIOS.  From one HD to another in windows is ~20MB/s, in Linux it is about 12MB/s.
I did see that "bus mastering" was turned off, though.  Turning this on did improve things. Windows now sees ~35MB/s rates, and that is Win2k not XP.

Code:
[root@localhost root]# hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   1654 MB in  2.00 seconds = 826.88 MB/sec
 Timing buffered disk reads: 266 MB in  3.02 seconds =  88.01 MB/sec
[root@localhost root]#
But...
Code:
[root@localhost Linux]# dd if=/mnt/1t/File\ bin/ISO\'s/Linux/lucid\ puppy\ 5.25.iso of=/root/deleteme.bin
261548+0 records in
261548+0 records out
133912576 bytes (134 MB) copied, 5.27582 s, 25.4 MB/s
Code:
[root@localhost Linux]# dd if=lucid\ puppy\ 5.25.iso of=deleteme.bin
261548+0 records in
261548+0 records out
133912576 bytes (134 MB) copied, 24.6866 s, 5.4 MB/s

Why is there such a speed difference, and why is transferring to a slower PATA drive that much faster than copying back on the drive?
Logged

"I don't care how meaty he is, I'm not getting my weather from a urologist!"
- - - - - - - - - - - - - - - - - - - - - - - - -
--Linux counter--
user:406047
310918   TIGERSERVER
411624   termserv
429752   lappy1
411625   jdxbox (Xebian 1.1.4)  www.xbox-linux.org/
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4139

Have a nice ... night!


« Reply #5 on: September 28, 2011, 02:45:43 PM »


Code:
[root@localhost Linux]# [color=red]dd[/color] if=/mnt/1t/File\ bin/ISO\'s/Linux/lucid\ puppy\ 5.25.iso of=/root/deleteme.bin
261548+0 records in
261548+0 records out
133912576 bytes (134 MB) copied, 5.27582 s, 25.4 MB/s

Hi,

while using the dd command to copy a large file, you should use at least some reasonable block size, otherwise your stats are greatly affected by the facts that dd is copying one byte at once. Please retry using the following:

Quote
dd if=/mnt/1t/File\ bin/ISO\'s/Linux/lucid\ puppy\ 5.25.iso of=/root/deleteme.bin bs=1M

Regards
AS
Logged
kjpetrie
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 3133


« Reply #6 on: September 28, 2011, 06:23:12 PM »


Why is there such a speed difference, and why is transferring to a slower PATA drive that much faster than copying back on the drive?

Because copying to the same drive means the head has to read, then move to a new track, wait for the disc to rotate and then write. Copying to a different drive means the head can just keep reading the file while the other head on the other drive just keeps writing.
Logged

-----------
KJP
-----------------------------------------------------------
PClos 2010 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, Hitachi CDR-7930, ‎HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG and Asus eeePC 2G surf
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM