Gentoo Archives: gentoo-user

From: Meino Christian Cramer <Meino.Cramer@×××.de>
To: gentoo-user@l.g.o, bigfish@××××××××××.org
Subject: Re: [gentoo-user] SATA tuning ?
Date: Tue, 15 Aug 2006 18:04:31
Message-Id: 20060815.195748.41652890.Meino.Cramer@gmx.de
In Reply to: Re: [gentoo-user] SATA tuning ? by Richard Fish
1 From: "Richard Fish" <bigfish@××××××××××.org>
2 Subject: Re: [gentoo-user] SATA tuning ?
3 Date: Tue, 15 Aug 2006 10:32:17 -0700
4
5 Hi Richard,
6
7 thank you for answering ! :)
8
9 > On 8/15/06, Meino Christian Cramer <Meino.Cramer@×××.de> wrote:
10 > > Hi,
11 > >
12 > > since SATA does not support DMA I would be interested in other ways
13 > > to tune the SATA interface.
14 >
15 > Huh? SATA _does_ support DMA, and it is always enabled.
16 >
17 > > Does someone knows some working things to do for tuning the SATA
18 > > interface?
19 >
20 > If you have chosen the correct driver in the your kernel
21 > configuration, it is self-tuning. There is no more performance to be
22 > had generally.
23 >
24 > What problem are you trying to solve? What does "hdparm -Tt /dev/sda"
25 > actually report?
26
27 I used the following:
28
29 #
30 # Please see Documentation/ide.txt for help/info on IDE drives
31 #
32 # CONFIG_BLK_DEV_IDE_SATA is not set
33 ...
34 #
35 # SCSI low-level drivers
36 #
37 ...
38 CONFIG_SCSI_SATA=y
39 ...
40 CONFIG_SCSI_SATA_VIA=y
41
42 (scsi support is enabled also)
43
44 Just as an info: lspci say:
45
46 00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
47 00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
48 00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
49 00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
50 00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
51 00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
52 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
53 00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
54 00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
55 00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
56 00:0c.0 Multimedia controller: Sigma Designs, Inc. REALmagic Hollywood Plus DVD Decoder (rev 02)
57 00:0d.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 03)
58 00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
59 00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
60 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
61 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
62 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
63 00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
64 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
65 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
66 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
67 00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
68 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
69 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
70 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
71 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
72 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500]
73
74 hdparm reports on a system, where no other task is running:
75
76 solfire:Mail/vim>sudo hdparm -tT /dev/sda
77 /dev/sda:
78 Timing cached reads: 2996 MB in 2.00 seconds = 1499.13 MB/sec
79 Timing buffered disk reads: 174 MB in 3.01 seconds = 57.79 MB/sec
80
81 which is slightly faster then my previous PATA setup.
82
83 BUT
84
85 WHen doing things, which mixes higher CPU-loads with massive hd
86 utilization, things are going slow (compilation of Blender for
87 example).
88
89 It /seems/, that SATA uses more of the CPU capacity than PATA.
90 I read the information about "SATA not DMA capable" in the Net. As I
91 said: Partly contradictionary....
92
93 And it seems that DMA is only possible with NCQ enabled, which is
94 currently (linux 2.6.17.8, vanilla) not the case with the kernel.
95
96 But as said before: This infos are all of "copy and paste" nature...I
97 have no way to proof them!!! Thats why I post my question...
98
99 > -Richard
100 > --
101 > gentoo-user@g.o mailing list
102 >
103
104 Keep hacking!
105 Meino
106 --
107 gentoo-user@g.o mailing list