You are not logged in.

#1 2006-09-16 10:58:06

john_nash
Member
From: Aalborg, Denmark
Registered: 2006-04-29
Posts: 4

filesystem and SATA drive performance

Hi you all,

I'm in the process of installing ArchLinux for the third time on my system and I'm in need for some suggestions. The previous installations went without problems but I have realized that the system was not really tuned for some video stuff I'm working with i.e that I need support for large files on my system. Did a google and found references on xfs system that should do the trick. All went ok and I could work without problems on dv files 10-13 GB in size but suddenly I've realized the abismal low performance of my harddrive when copying files e.g: 20 min for a folder of 512 MB (indeed with multiple folders and small files)!!!. The hardware I'm using is:

AMD Athlon 2500
Gigabyte GA-7VM400AMF (VIA 8237 -sata controller)
Seagate 160 GB SATA harddrive
512 MB ram

-the "hdparm -tT /dev/sda" command gives me:
/dev/sda:
Timing cached reads:   1260 MB in  2.00 seconds = 629.77 MB/sec
Timing buffered disk reads:  152 MB in  3.01 seconds =  50.43 MB/sec

-the "sdparm /dev/sda" output is:
/dev/sda: ATA       ST3160827AS       3.42
Read write error recovery mode page:
  AWRE        1
  ARRE        1
  PER         0
Caching (SBC) mode page:
  WCE         1
  RCD         0
Control mode page:
  SWP         0

-the "sdparm -i --verbose /dev/sda" command output is:
  /dev/sda: ATA       ST3160827AS       3.42
  PQual=0  Device_type=0x0  RMB=0  version=0x05  [SPC-3]
  [AERC=0]  [TrmTsk=0]  NormACA=0  HiSUP=0  Resp_data_format=2
  SCCS=0  ACC=0  TGPS=0  3PC=0  Protect=0  BQue=0
  EncServ=0  MultiP=0  MChngr=0  [ACKREQQ=0]  Addr16=0
  [RelAdr=0]  WBus16=0  Sync=0  Linked=0  [TranDis=0]  CmdQue=0
Device identification VPD page:
  Addressed logical unit:
    desig_type: vendor specific [0x0],  code_set: ASCII
00     20 20 20 20 20 20 20 20  20 20 20 20 34 4d 54 30                4MT0
10     30 47 4b 48                                         0GKH
    desig_type: T10 vendor identification,  code_set: ASCII
      vendor id: ATA
      vendor specific: ST3160827AS                                         4MT00 GKH

-I have the following partitons:
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3918    31471303+   c  W95 FAT32 (LBA)
/dev/sda2            3919        3930       96390   83  Linux
/dev/sda3            3931        4055     1004062+  83  Linux
/dev/sda4            4056       19457   123716565   83  Linux

sda1 partition is with winXP (still using win bootloader)
sda2 is /boot formatted as ReiserFs
sda3 is swap
sda4 is XFS formatted mounted as /

Now I'm preparing to reformat the whole drive, partitioning in the same manner but using JFS on the "/" partiton ....and this is what I would ask you guys:

1. Are the hdparm readings "normal" for my system? Please reply with some of yours if you have sata drives.
2. Please comment the sdparm readings (have no idea what could these be used for..)
3. The reallife test of copying files tells me that there should be a problem on my system -I mean that my vaio laptop with a PATA drive @4200rpm does better. If this is the case what could it be - hardware? sata_via drive (I would be willing to test a proprietary drive if it exists)? filesystem?
Thank you.

Offline

Board footer

Powered by FluxBB