Hi:
 
 Some days ago, I saw a post about enabling UDMA in Linux. I used "hdparm -d1
 /dev/hda", and I got an error message saying "resource busy" or something like
 that. 
 Then, I downloaded kernel 2.2.10 and compiled it (my fisrt time compiling a
 kernel), and said y to "VIA ide controller" and "enable DMA by default"......
 the results were amazing. Here are the timings:
 
  before:

  /dev/hda:
 multcount    =  0 (off)
 I/O support  =  3 (32-bit w/sync)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 1025/255/63, sectors = 16481808, start = 0                             
                                                                                       
    

/dev/hda:
 Timing buffer-cache reads:   128 MB in  3.34 seconds =38.32 MB/sec
 Timing buffered disk reads:  64 MB in  9.87 seconds = 6.48 MB/sec  


   after: 

/dev/hda:
 multcount    =  0 (off)
 I/O support  =  3 (32-bit w/sync)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 1025/255/63, sectors = 16481808, start = 0   
 
/dev/hda:
Timing buffer-cache reads:   128 MB in  3.36 seconds =38.10 MB/sec
Timing buffered disk reads:  64 MB in  5.20 seconds =12.31 MB/sec

I didn't know compiling the kernel was so easy, and it allows me to create a
custom kernel according to my hardware, resulting in a performance increase.

My system is:

K6-2 350 running @400Mhz
S7 motherboard with VIA MVP3 controller
96mb PC100 RAM
Diamond Stealth II G460 (i740)
Creative Ensoniq PCI (ES1371)
generic 36X cdrom

Reply via email to