Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo is eating up all my resources
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Wed Jan 16, 2008 11:52 am    Post subject: gentoo is eating up all my resources Reply with quote

hi, I have a problem here.... I always expected gentoo to be breezy fast.... but all I get since yeasterday evening is sluggish bevahiour. take a look at my memory stats:
http://i16.tinypic.com/6te0zt0.png - I know that the system monitor usually shows some 200 additional ram to the vital usage (which are used by the system to speed up some processes), but really, nautilus and the system monitor take 3-5 seconds to load, firefox tabs about 1-2 secs to open.... and exaile searches can take (although i barely have 5000 music files) up to 20 secs .... so i have little to no idea what processes get "speeded up"....
And the pagefile usage is horrendous - one way or the other this is more resource usage then I got from vista+mediaplayer+photoshopCS3 (something which I consider "excusable" for bloated distro's like ubuntu but which seems totally out of place in gentoo).

you may suggest to look for what processes may be the culprits.... which I did: http://i4.tinypic.com/86tn9g9.png - I have no idea what python app would eat up that much ram, and as far as I know, exaile is the only python app I'm running right now, also I have my doubts that firefox and nautilus really need the corresponding memory, as I only have one nautilus window open, and one ff window with only 6 tabs, none of which contain flash or the likes.

I am aware that 1024 ram is kinda little, and I am planning to buy some additional modules next week, still, seeing as i don't even run the most basic composite manager and (except some custom panels and a murrina theme) have nothing which could be vaguely approximated as eye-candy on my desktop, I find these resource stats concerning. If it could be the source of the problem, I DO have a rather long uptime (5 days) but my normal uptime is much longer.
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Wed Jan 16, 2008 12:13 pm    Post subject: Reply with quote

could you post the output of emerge --info
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Wed Jan 16, 2008 1:32 pm    Post subject: Reply with quote

here you go, pussi

Quote:
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Timestamp of tree: Fri, 11 Jan 2008 16:46:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org/ http://ftp.romnet.org/gentoo/ ftp://mirrors.evolva.ro/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Wed Jan 16, 2008 2:05 pm    Post subject: Reply with quote

Hi Chimera,
Code:

CFLAGS="-O2 -pipe"

You should have
Code:

CFLAGS="-march=nocona -O2 -pipe"

Same for CXXflags of course.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Wed Jan 16, 2008 4:29 pm    Post subject: Reply with quote

and what's that supposed to change?
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Wed Jan 16, 2008 5:03 pm    Post subject: Reply with quote

Chymera wrote:
and what's that supposed to change?

That should optimize compiled binaries for your cpu, but I don't think that would solve your problem.
I didn't see anything weird in your emerge --info either.

In gnome's system monitor select View->All processes and see if X or some other process is using gigabytes of memory.
Also, on the screenshot you posted, is firefox's memory usage from right after you've started it or have you been browsing with it.
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Wed Jan 16, 2008 5:09 pm    Post subject: Reply with quote

Chymera
did you reboot your system and checked ? :)
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Wed Jan 16, 2008 6:27 pm    Post subject: Reply with quote

pussi wrote:

Also, on the screenshot you posted, is firefox's memory usage from right after you've started it or have you been browsing with it.


I've been using it for a while....

As for what you asked about "all processes" , I did select the view all option, and there really wasnt anything nea, except x seems to be using some 170 mb .... nothing in the gb range.... still

So does no one have any idea?
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Wed Jan 16, 2008 6:36 pm    Post subject: Reply with quote

how do you start your gui ?
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Wed Jan 16, 2008 6:41 pm    Post subject: Reply with quote

I just realized 'memory' field doesn't include swap.
you could try simply ending the python process that's using 360MB memory and see if that helps
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Wed Jan 16, 2008 6:50 pm    Post subject: Reply with quote

I just checked my system and your system hardware looks same. don;t you use dev-util/ccache ?
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Wed Jan 16, 2008 6:59 pm    Post subject: Reply with quote

pussi wrote:
I just realized 'memory' field doesn't include swap.
you could try simply ending the python process that's using 360MB memory and see if that helps


it crashes exaile (doh!).... but i doubt it's it, now for example it's only using 231 mb, amd my system is even slower than before...
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Wed Jan 16, 2008 7:00 pm    Post subject: Reply with quote

upengan78 wrote:
how do you start your gui ?


with startx
.... aren't you that guy who added me in messenger and went about ranting?
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Wed Jan 16, 2008 7:17 pm    Post subject: Reply with quote

:) No I did not go ranting :roll:

If you want we can talk on messenger

my firefox uses 212 MB
pidgin :) 46.7 MB
xinit 188 KB
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Thu Jan 17, 2008 2:03 pm    Post subject: Reply with quote

ok, I tried a little experiment: I rebooted my comp yesterday evening, started exaile and opened a nautilus window. Then just let it sit there

20:00 - 19,7% RAM usage
06:45 - 32,1% RAM usage
17:00 - 41,9% RAM usage

is it normeal to get such resource consumption growht over sich a short uptime (less than a day), or do I have some kind of memory leak here?
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!


Last edited by Chymera on Thu Jan 17, 2008 8:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Thu Jan 17, 2008 4:35 pm    Post subject: Reply with quote

Chymera wrote:
do I have some kind of memory leak here?
That's what I've been guessing here.. Try using top or gnome system monitor to identify the program that's doing this.
Back to top
View user's profile Send private message
wyvern5
Apprentice
Apprentice


Joined: 11 Nov 2006
Posts: 161

PostPosted: Thu Jan 17, 2008 5:36 pm    Post subject: Reply with quote

You may wish to enable additional columns in the gnome system monitor to see more memory info.
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Thu Jan 17, 2008 5:45 pm    Post subject: Re: gentoo is eating up all my resources Reply with quote

pussi wrote:
That's what I've been guessing here.. Try using top or gnome system monitor to identify the program that's doing this.

@ pussi, let me quotae my initial post for you
Chymera wrote:
you may suggest to look for what processes may be the culprits.... which I did: http://i4.tinypic.com/86tn9g9.png - I have no idea what python app would eat up that much ram, and as far as I know, exaile is the only python app I'm running right now, also I have my doubts that firefox and nautilus really need the corresponding memory, as I only have one nautilus window open, and one ff window with only 6 tabs, none of which contain flash or the likes.

sound familiar?
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Thu Jan 17, 2008 5:48 pm    Post subject: Reply with quote

wyvern5 wrote:
You may wish to enable additional columns in the gnome system monitor to see more memory info.

here is a screenshot.... i do notice some bloated values in the first memory column.... although the rest isn't really lightweight either
http://i19.tinypic.com/6luxa9e.png

any ideas?
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Thu Jan 17, 2008 5:51 pm    Post subject: Reply with quote

Can you please post output of

emerge -av python
Back to top
View user's profile Send private message
wyvern5
Apprentice
Apprentice


Joined: 11 Nov 2006
Posts: 161

PostPosted: Thu Jan 17, 2008 5:54 pm    Post subject: Reply with quote

Whatever you're running with python is taking an extraordinary amount of memory. Is that your music player? Consider trying amarok... it's using 60mb with 25,000+ songs.
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Thu Jan 17, 2008 6:53 pm    Post subject: Reply with quote

wyvern5 wrote:
Whatever you're running with python is taking an extraordinary amount of memory. Is that your music player? Consider trying amarok... it's using 60mb with 25,000+ songs.

I don't want to use qt apps... out of principle :P
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Thu Jan 17, 2008 6:54 pm    Post subject: Reply with quote

upengan78 wrote:
Can you please post output of

emerge -av python


wouldn't that mean re-emerging python, only in verbose mode, and with a y/n prompt?
_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Thu Jan 17, 2008 6:56 pm    Post subject: Reply with quote

do not reinstall
i wanted to knows flags used for python
Back to top
View user's profile Send private message
Chymera
Apprentice
Apprentice


Joined: 13 Sep 2007
Posts: 245
Location: Zürich

PostPosted: Thu Jan 17, 2008 7:08 pm    Post subject: Reply with quote

emerge -av python:
Code:
[ebuild   R   ] dev-lang/python-2.4.4-r6  USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -examples -nocxx -nothreads -tk -ucs2" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

_________________
Check out my initiative to bring Neuroscience software to Gentoo - NeuroGentoo!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
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