Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"my system is slower than it should be" Tip-Thread
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Sun Feb 06, 2005 6:46 pm    Post subject: Reply with quote

z4Rilla wrote:
doesnt work for me... eth0 tries to start twice

Yes I've a problem me too with this option, this isn't safe :roll:
Back to top
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Sun Feb 06, 2005 6:49 pm    Post subject: Reply with quote

Oh, in fact it is quite useless anyway.
I read somewhere here, that the process are not really started parallel.
There was a patch for that, but it didn't work for me.
Sometimes perhaps the bootscripts will be updated, sometimes.
_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
darkfolk
n00b
n00b


Joined: 30 Jan 2005
Posts: 32

PostPosted: Mon Feb 07, 2005 12:22 am    Post subject: Reply with quote

Don't install stuff you don't need

Use USE flags correctly to control that. If you want to compile something, and it tries to install KDE or something else not needed, look at /usr/portage/profiles/use.desc to see if there is a USE flag, then, for example, do this:

Code:

#/etc/make.conf
...
USE="bla blah blah... -kde"
Back to top
View user's profile Send private message
Arkham
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 111
Location: Quilpue, Chile

PostPosted: Mon Feb 07, 2005 2:39 pm    Post subject: Reply with quote

use NPTL threads (for the many "non Stage1" users)


only for 2.6 kernels


Code:

add "nptl" to the USE flags

emerge -C linuxheaders
emerge linuxheaders26
emerge glibc


have fun

What does this do? I'm not really sure, but after that, I had to glue my PC to the table :D

?
Back to top
View user's profile Send private message
gargan
n00b
n00b


Joined: 10 Sep 2004
Posts: 14

PostPosted: Mon Feb 07, 2005 5:28 pm    Post subject: Reply with quote

I jsut checked out emerge -avp depclean.. basically to see the difference between the gentoo-own emerge cleaning and the dupecleaner I just upped (https://forums.gentoo.org/viewtopic.php?t=15032). I think the depclean is extremely dangerous... it actually wanted to remove my par2cmdline, hotplug, openoffice, and much more I use every single day. I wonder how emerge comes to think these progs are useless? -

nevertheless i was able to free quite a lot of space (about 2gigs/30 packages) which where complete useless because they were older versions of packages I have currently installed with the script from https://forums.gentoo.org/viewtopic.php?t=15032 (or http://www.gargan.org/linux/#mozTocId100001 ) ... oh and make sure you check out thi util https://forums.gentoo.org/viewtopic.php?t=260866 (cleaned some other packages for me...)

A little warning: ALL TOOLS MAY DAMAGE YOUR GENTOO BE CAREFUL! better you have some lost space than you ruin your whole system...
Back to top
View user's profile Send private message
dhewton
Guru
Guru


Joined: 14 Aug 2004
Posts: 460
Location: Canada

PostPosted: Mon Feb 07, 2005 6:15 pm    Post subject: Reply with quote

BlindSpy wrote:
1. Check /usr/portage/distfiles. You can delete everything in there as long as your not doing an emerge at the time.

2. Also, check out the cruft cleaner:
https://forums.gentoo.org/viewtopic.php?t=152618

That can clean your system up quite a bit too.

3. Something else I do to clean my system is '# emerge -av depclean' to clean up all the unneaded dependancies. After that run '# revdep-rebuild' to rebuild anything that depclean may have broken.


I am of course an idiot. I rean emerge -av depclean and stupidly assumed that the command revdep-rebuild would exist. Where do I get this command? I am terrified to turn my computer off for fear I have REALLY screwed it up.. My fault, but if you could pease assist me in this I would really appreciate it.

Thanks

Dan
_________________
DannyBoy
Back to top
View user's profile Send private message
ryceck
Apprentice
Apprentice


Joined: 13 Jan 2004
Posts: 195

PostPosted: Mon Feb 07, 2005 7:23 pm    Post subject: Reply with quote

dhewton wrote:
BlindSpy wrote:
1. Check /usr/portage/distfiles. You can delete everything in there as long as your not doing an emerge at the time.

2. Also, check out the cruft cleaner:
https://forums.gentoo.org/viewtopic.php?t=152618

That can clean your system up quite a bit too.

3. Something else I do to clean my system is '# emerge -av depclean' to clean up all the unneaded dependancies. After that run '# revdep-rebuild' to rebuild anything that depclean may have broken.


I am of course an idiot. I rean emerge -av depclean and stupidly assumed that the command revdep-rebuild would exist. Where do I get this command? I am terrified to turn my computer off for fear I have REALLY screwed it up.. My fault, but if you could pease assist me in this I would really appreciate it.

Thanks

Dan


emerge the gentoolkit package and then run revdep-rebuild :)
Back to top
View user's profile Send private message
dhewton
Guru
Guru


Joined: 14 Aug 2004
Posts: 460
Location: Canada

PostPosted: Mon Feb 07, 2005 8:01 pm    Post subject: Reply with quote

This is the error I get when I try to emerge the gentoolkit. Should I start sweating?

Dan

>>> md5 src_uri ;-) gentoolkit-0.2.0.tar.gz
install: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory

!!! ERROR: app-portage/gentoolkit-0.2.0 failed.
!!! Function dyn_unpack, Line 678, Exitcode 127
!!! Failed to create dir '/var/tmp/portage/gentoolkit-0.2.0/work'
!!! If you need support, post the topmost build error, NOT this status message.


emerge the gentoolkit package and then run revdep-rebuild :)[/quote]
_________________
DannyBoy
Back to top
View user's profile Send private message
dhewton
Guru
Guru


Joined: 14 Aug 2004
Posts: 460
Location: Canada

PostPosted: Mon Feb 07, 2005 8:05 pm    Post subject: Reply with quote

In fact, now when ever I try to emerge ANYTHING this comes up. Any help would be REALLY appreciated.

Thanks

Dan

quote="dhewton"]This is the error I get when I try to emerge the gentoolkit. Should I start sweating?

Dan

>>> md5 src_uri ;-) gentoolkit-0.2.0.tar.gz
install: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory

!!! ERROR: app-portage/gentoolkit-0.2.0 failed.
!!! Function dyn_unpack, Line 678, Exitcode 127
!!! Failed to create dir '/var/tmp/portage/gentoolkit-0.2.0/work'
!!! If you need support, post the topmost build error, NOT this status message.


emerge the gentoolkit package and then run revdep-rebuild :)[/quote][/quote]
_________________
DannyBoy
Back to top
View user's profile Send private message
Phob
n00b
n00b


Joined: 04 Jun 2004
Posts: 18

PostPosted: Tue Feb 08, 2005 2:06 am    Post subject: Reply with quote

See that thread
https://forums.gentoo.org/viewtopic.php?t=281608&highlight=libacl
Back to top
View user's profile Send private message
linux_girl
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 287

PostPosted: Wed Feb 16, 2005 5:15 am    Post subject: Reply with quote

yngwin wrote:
Reiser4 :P


yeah but how ? i was unable to find this in my kernel menuconfig (2.6.10)

sys-fs/reiser4progs was easy to merge but after u mkfs.reiser4 /dev/hdaXX how do u mount it ?
_________________
:D :D
Back to top
View user's profile Send private message
Jinidog
Guru
Guru


Joined: 26 Nov 2003
Posts: 593
Location: Berlin

PostPosted: Wed Feb 16, 2005 6:17 am    Post subject: Reply with quote

You need a patched kernel for that.
_________________
Just unused Microsoft-Software is good Microsoft-Software
Back to top
View user's profile Send private message
jamiethehutt
n00b
n00b


Joined: 04 Oct 2004
Posts: 66
Location: Scotland!

PostPosted: Wed Feb 16, 2005 1:09 pm    Post subject: Reply with quote

dhewton wrote:

install: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory


Basically you've removed an important library, and I think almost everyone has done this at least once. Fire up the LiveCD and copy the missing libs across until you stop getting the error, then emerge acl and finally add "acl" to your USE flags so it's not removed again.

Now why acl isn't in the default USE flags to begin with I have NO idea...:wink:
_________________
"Someday, he thought, it'll be mandatory that we all sell the McDonald's hamburger as well as buy it; we'll sell it back and forth to each other forever from our living rooms. That way we won't even have to go outside." - A Scanner Darkly By PK Dick
Back to top
View user's profile Send private message
roger55
Retired Dev
Retired Dev


Joined: 20 Dec 2002
Posts: 23
Location: Graz/Austria

PostPosted: Wed Feb 16, 2005 10:16 pm    Post subject: depclean can be dangerous.. Reply with quote

For your acl problem:
http://dev.gentoo.org/~avenj/bins/
holds binaries of important system packages that you may use to repair your system.

There is a README at that location that you should read and follow.

acl and probably attr are what you will probably have unmerged by that depclean.
once your system is repaired add acl to your USEflags in make.conf.

I hope this helps.

Regards
roger55
Back to top
View user's profile Send private message
lightvhawk0
Guru
Guru


Joined: 07 Nov 2003
Posts: 388

PostPosted: Tue Aug 23, 2005 11:34 pm    Post subject: Reply with quote

I say try using the CFQ schedular in the kernel it made a huge difference for me i was emerging 6 things at once with very little slow down.

If xorg is alittle slow call fc-cache some times the font cache get messed up this will fix it most of the time.
_________________
If God has made us in his image, we have returned him the favor. - Voltaire
Back to top
View user's profile Send private message
COiN3D
Guru
Guru


Joined: 02 Aug 2004
Posts: 543
Location: Munich, Germany

PostPosted: Wed Aug 24, 2005 12:49 pm    Post subject: Reply with quote

How-to slightly improve 3D-Acceleration in games and/or X (NVIDIA-Cards)

First check what your current graphic card supports:
Code:
$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     PCI device 10de:01e0
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f00421b:0x00000312


If "Fast Writes" is not supported, but you are sure that your motherboard supports it, this problem is probably caused by a wrong setting in the BIOS. So if necessarily, check your Motherboard's instruction and activate it then in your BIOS. After that, edit /etc/modules.d/nvidia to activate SBA and Fast Writes.
Code:
nano -w /etc/modules.d/nvidia && modules_update
uncomment this line: options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
Now we will finally edit the xorg.conf file. Go then to the section "Device" and insert the following three lines:
Code:
    Option      "AGPMode" "8"
    Option      "AGPFastWrite" "1"
    Option      "NVAGP" "2"
The first option, "AGPMode", sets your graphic card to 8x AGP instead to 4x, which is default. The second option, "AGPFastWrite" is to play it safe that FastWrites will be used by your X-Server. I'll explain what the option "NVAGP" means in the next step.

NVAGP or AGPGART?

There are two different AGP-Drivers. First, there is NVAGP. It will be installed with the Nvidia-Graphics card driver. The second one, AGPGART, is the Kernel's native AGP Driver. Now you'll ask which of these ones is the faster one. But I don't know it :). I tried both of them but my results were the same. In my opinion, I'd advise you to use the Kernel's AGP Driver, especially if you're often compiling the latest, high-patched kernel-sources. NVIDIA's NVAGP is known to (maybe) break then.

The option "NVAGP" accepts four values, these four values mean the following:
Code:
        Value                            Behavior
        -----------------------------    -----------------------------
        0                                disable agp
        1                                use NVIDIA's internal AGP
                                         support, if possible
        2                                use AGPGART, if possible
        3                                use any agp support (try
                                         AGPGART, then NVIDIA's AGP)


In my example on the top I'm using AGPGART. To be sure that the new options have been activated, kill your X-Server and reload your NVIDIA-Module.
Code:
# /etc/init.d/xdm stop && rmmod nvidia && modprobe nvidia


Afterwards start your X-Server again and type this line here into a terminal emulator of your choice to see if your system works with the new options.
Code:
cat /proc/driver/nvidia/agp/status

_________________
e17 documentation | Be free and use Jabber as your IM! | Combine IRC and IM
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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