View previous topic :: View next topic |
Author |
Message |
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Thu Apr 08, 2004 3:17 am Post subject: emerge --update system |
|
|
emerge --update system
does that command recompile my gentoo installation? because i did a stage3 intsall and my gentoo feels a bit laggy. was wondering if i could recompile my gentoo for optimizations.. _________________ John5788 |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Thu Apr 08, 2004 3:27 am Post subject: |
|
|
No. All --update does is tell emerge to search through your system's portage tree and update anything that is out of date.
Like if you want to make sure your entire installation is up-to-date you'd do:
emerge sync && emerge --update --deep world
The --deep makes it so your system not only updates individual packages but makes sure to update/reinstall it's dependencies to make sure everything works. |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Thu Apr 08, 2004 3:34 am Post subject: |
|
|
ohk, well what tweaks can i apply to my gentoo install? it feels pretty laggy and i have a good machine: p4 2ghz, 1024mb pc2700 ram, nv4 geforce mx440 64mb.
it starts lagging ALOT when im compiling stuff and i didnt notice too much lag on FreeBSD when compiling ports.. _________________ John5788 |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Thu Apr 08, 2004 3:41 am Post subject: |
|
|
I would guess the major thing causing slow compiling would be a problem with your CFLAGS variable.
Also was it "lagging" on anything in particular?
edit: I mean on any particular source package... |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Thu Apr 08, 2004 3:49 am Post subject: |
|
|
its just lagging on the whole system, mouse freezes for a few secs, xmms freezes for a few secs. i think the problem is the harddrive.. too much activity? i remember setting some hdparm things in the install process of gentoo. how could i set those and make them stay on next reboot? (btw im currently lagging downloading counterstrike on steam....) _________________ John5788 |
|
Back to top |
|
|
Boohbah Apprentice
Joined: 17 Oct 2003 Posts: 250 Location: Seattle
|
Posted: Thu Apr 08, 2004 8:37 am Post subject: |
|
|
Add hdparm to the boot runlevel to make it start every time:
Code: |
root@xzvf ~ # rc-update add hdparm boot
* hdparm added to runlevel boot
* Caching service dependencies...
* rc-update complete.
|
If that doesn't help, you might consider a different kernel with a lower-latency scheduler, like ck-sources. _________________ Never try to explain computers to a layman. It's easier to explain sex to a virgin.
-- Robert Heinlein
(Note, however, that virgins tend to know a lot about computers.) |
|
Back to top |
|
|
|