Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System very slow
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Black666
n00b
n00b


Joined: 15 Jul 2002
Posts: 61
Location: Vienna (Austria)

PostPosted: Fri Aug 02, 2002 4:22 pm    Post subject: System very slow Reply with quote

Hi!
I noticed that my Gentoo installation takes a very long time to boot ... my previous Suse 8.0 installation had more software and services installed and booted 2-3(!!) times faster than my gentoo now. Even when the system is up everything is slow - Konquerer takes about 10 seconds to load.
My system is a Duron 800 with 256MB Ram..

Somewhere I've read about hdparm -d so I tried this:

Code:

root@starbase / # hdparm -d /dev/hda

/dev/hda:
 using_dma    =  0 (off)
root@starbase / # hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 using_dma    =  1 (on)
root@starbase / #


This speeds things up...but as soon as I reboot, the boot sequence takes as long as before and using_dma is back at 0. How can I make gentoo remember this?

Maybe this output helps anyone:
Code:

root@starbase / # hdparm -i /dev/hda

/dev/hda:

 Model=ST320430A, FwRev=3.11, SerialNo=7BX06FZ3
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=512kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40079088
 IORDY=on/off, tPIO={min:240,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
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4

root@starbase / #


Any more tips how I can speed up my Gentoo?
Back to top
View user's profile Send private message
trythil
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 123
Location: RHIT, Terre Haute, IN, USA

PostPosted: Fri Aug 02, 2002 4:27 pm    Post subject: Reply with quote

You can do this by sticking your hdparm command in /etc/conf.d/local.start. For example:

Code:

sh-2.05a$ cat local.start | egrep -v '^#'


/usr/sbin/opengl-update nvidia
/etc/init.d/gpm start
/usr/sbin/hdparm -d1 /dev/cdroms/cdrom0


However, I'd look to trying to get your drive recognized as capable of DMA access without hdparm (i.e. tweaking your kernel configuration)...hdparm is a rather dangerous tool if not wielded precisely. (I learned that the hard way. :) )
Back to top
View user's profile Send private message
CoronaLover
Retired Dev
Retired Dev


Joined: 20 Jun 2002
Posts: 163
Location: Rosh-ha'ayin, Israel

PostPosted: Fri Aug 02, 2002 5:04 pm    Post subject: Reply with quote

You need to recompile your kernel with the southbridge support for your chipset, after this Gebtoo should recognize the HD automaticlly and enable DMA and all the good stuff thet make the JD work fast.
Back to top
View user's profile Send private message
Black666
n00b
n00b


Joined: 15 Jul 2002
Posts: 61
Location: Vienna (Austria)

PostPosted: Sat Aug 03, 2002 11:34 am    Post subject: Reply with quote

CoronaLover wrote:
You need to recompile your kernel with the southbridge support for your chipset, after this Gebtoo should recognize the HD automaticlly and enable DMA and all the good stuff thet make the JD work fast.


Wow thnx, that worked. Now I feel the power of gentoo he he
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum