Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-28-2004, 03:21 PM
|
#1
|
Member
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194
Rep:
|
slow disk reads: Slackware 10 kernel 2.6.7
Is anyone else getting slow hard disk reads after installing Slackware 10 with kernel 2.6.7? hdparm shows that I do have dma enabled on the drive (udma6), but it confirms what I experienced - a disk transfer rate of about 3Mb/s! On Slackware 9.1 with kernel 2.4.24 I was getting close to 50Mb/s...
|
|
|
06-28-2004, 03:39 PM
|
#2
|
Member
Registered: Oct 2003
Posts: 534
Rep:
|
Same kernel version, same Slackware version, different speeds. I have about 35 MB/sec which is about the same using Slack 9.1 / kernel 2.4.x . I use a custom compiled kernel.
|
|
|
06-29-2004, 12:51 AM
|
#3
|
Member
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194
Original Poster
Rep:
|
thanks
thanks for the info red eagle!
|
|
|
06-29-2004, 10:49 AM
|
#4
|
Member
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305
Rep:
|
bash-2.05b# hdparm -i /dev/hda
/dev/hda:
Model=SAMSUNG SV8004H, FwRev=QR100-07, SerialNo=0429J1FRB15155
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=38997, SectSize=619, ECCbytes=4
BuffType=DualPortCache, BuffSize=1945kB, MaxMultSect=16, MultSect=16
CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=156368016
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 1:
* signifies the current active mode
How do I know if it's using dma?? Is it? How do I check the speed?
|
|
|
06-29-2004, 10:56 AM
|
#5
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,798
|
hdparm -t /dev/hda
|
|
|
06-29-2004, 11:08 AM
|
#6
|
Member
Registered: Jun 2003
Location: Illinois
Distribution: Slackware 9.1
Posts: 305
Rep:
|
bash-2.05b# hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 96 MB in 3.02 seconds = 31.75 MB/sec
bash-2.05b#
Why is it so slow?
|
|
|
06-29-2004, 11:17 AM
|
#7
|
Member
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160
Rep:
|
2.6.7 kernel is messed up
I cant enable dma or anything my drive is such a bottel neck it is not even funny.
Code:
/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 156355584, start = 0
Code:
hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
I have posted in other places on this board but no one has any ideas on this yet, I am bumed out.
*edit* WOW!!
Code:
/dev/hda:
Timing buffered disk reads: 12 MB in 3.11 seconds = 3.86 MB/sec
and you thought yours was bad 
Last edited by init; 06-29-2004 at 11:19 AM.
|
|
|
06-29-2004, 11:26 AM
|
#8
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,798
|
I would check the bios config to see if features enabled or not.
Quote:
Timing buffered disk reads: 96 MB in 3.02 seconds = 31.75 MB/sec
bash-2.05b#
Why is it so slow?
|
Quit your programs, exit X and redo the test
|
|
|
All times are GMT -5. The time now is 11:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|