View previous topic :: View next topic |
Author |
Message |
xavloi44 n00b

Joined: 01 Oct 2008 Posts: 2
|
Posted: Wed Oct 01, 2008 8:27 am Post subject: [memoire ram]Consomation excessive en 64bits |
|
|
Bonjour,
J'utilise gentoo depuis un petit moment maintenant et j'ai essayer la version 64bits no-multilib sur mon dell d630.
je m'etonne de voir que par exemple firefox 3.0.3 consomme environ 600Mo de memoire virtuelle alors que sur la meme machine sur un gentoo 32 bits il en consomme "a peine" 150Mo
meme probleme avec thunderbird.
voici mon make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"
FEATURES="CCACHE"
CCACHE_SIZE="2G"
VIDEO_CARDS="nvidia"
ALSA_CARDS="hda-intel"
INPUT_DEVICES="evdev keyboard mouse synaptics"
LINGUAS="fr"
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"
USE="-* X a52 acl acpi alsa branding bzip2 cairo cdr cli cracklib crypt cxx dbus dell dri dvd dvdr dvdread
emboss encode evo fam ffmpeg gdbm gif gpm gstreamer gtk hal hddtemp iconv jpeg laptop libnotify mad xscreensaver
mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds python quicktime
readline reflection sdl session spell spl sse sse2 ssse3 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb
wxwindows nsplugin xulrunner nsplugin rss vorbis wifi win32codecs x86 xinerama xml xorg xosd xv zlib"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
merci
xavier _________________ Hackeur vaillant rien d'impossible
Last edited by xavloi44 on Wed Oct 01, 2008 12:01 pm; edited 1 time in total |
|
Back to top |
|
 |
geekounet Bodhisattva


Joined: 11 Oct 2004 Posts: 3772 Location: Wellington, Aotearoa
|
Posted: Wed Oct 01, 2008 10:16 am Post subject: |
|
|
Salut et bienvenue ici ! Peux-tu mettre ton titre du topic en conformité avec les conventions de notre forum s'il te plait ? Merci
Perso j'ai jamais vu de différence de consommation entre la version 32bit et la 64bit, c'est un monstre en consommation de ram dans les 2 cas. Par contre, si t'utilises le flash proprio avec le multilib et tout, n'oublie pas que du coup ça te charge les libs 32bit en plus de celles déjà chargées en 64bit, donc ça double la taille totale du binaire (ha que c'est beau le monde propriétaire...)
Perso je n'ai ni le flash proprio, ni le multilib, donc pas de soucis de ce coté, et en ce moment même il ne consomme "que" 220MiB de ram...  |
|
Back to top |
|
 |
kopp Advocate


Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Wed Oct 01, 2008 12:22 pm Post subject: |
|
|
Euh, il n'y a pas pas comme un problème là ?
Pour du 64bits, le CHOST ne serait-il pas x86_64-pc-linux-gnu plutot que i686-pc-linux-gnu ?
T'es sur d'être en 64 bits ? Ou alors tu nous as pas donné le bon make.conf |
|
Back to top |
|
 |
NEOxAKIRA Guru

Joined: 20 May 2007 Posts: 302 Location: France
|
Posted: Wed Oct 01, 2008 12:45 pm Post subject: |
|
|
ainsi que -march=nocona en 64bits pour les Core 2 duo... |
|
Back to top |
|
 |
xavloi44 n00b

Joined: 01 Oct 2008 Posts: 2
|
Posted: Wed Oct 01, 2008 12:47 pm Post subject: |
|
|
oups oui exact c'ets celui du 32bits ca.
voila le bon:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="-march=nocona -O2 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"
ALSA_CARDS="hda-intel"
VIDEO_CARDS="nvidia"
LCD_DEVICES=""
APACHE2_MODULES=""
INPUT_DEVICES="evdev keyboard mouse synaptics"
LINGUAS="fr"
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"
USE="-* X a52 hddtemp acl amd64 bzip2 cli cracklib crypt dri gdbm gpm iconv mmx mudflap
vorbis rss ncurses nls nptl nptlonly openmp pam pcre dell nvidia alsa threads usb
exif imlib perl python readline reflection session spl sse sse2 ssl ssse3 sysfs
dvd acpi hal truetype svg glitz gif xcb opengl xinerama tcpd unicode xorg
xulrunner xcomposite dbus startup-notification xml jpeg sdl gtk zlib png
mp3 cairo gstreamer java xv a52 aac xvid xosd laptop idn spell wifi libnotify "
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" _________________ Hackeur vaillant rien d'impossible |
|
Back to top |
|
 |
NEOxAKIRA Guru

Joined: 20 May 2007 Posts: 302 Location: France
|
Posted: Wed Oct 01, 2008 3:11 pm Post subject: |
|
|
t'as pu qu'a faire emerge -eva world ... |
|
Back to top |
|
 |
|