Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

AMD64 memory used like crazy..

Have an x86-64 problem? Post here.
Locked
Advanced search
11 posts • Page 1 of 1
Author
Message
defuseme
n00b
n00b
Posts: 3
Joined: Thu Feb 16, 2006 10:32 pm

AMD64 memory used like crazy..

  • Quote

Post by defuseme » Thu Feb 16, 2006 10:57 pm

WOW I do NOT understand whats going on, this is the second distro to do this, and someone had suggested it was xfs, but I cannot prove or disprove that. I do know that I was using ext3 w/ kubuntu. I'm using gentoo 2.6.15-gentoo-r5 with fluxbox and xfs. I took my time w/ my kernel and my package selection as well paying close attention to my use flags that programs needed or wouldn't need ahead of time (emerge -pv) vs what I had in my make.conf. I wanted to do my best w/ this system.

I really thought all was well, I mean on boot up I was using around 60mb of memory :D and after everything opened up it hung around 200 or so. BUT soon as I do something such as emerge -s, it goes to crap instantly consuming 200+mb of memory (from 60, so between 260-300) and of course that depends on just how long it took it to search. It just keeps going like this, never reducing. I didn't sweat it much. Two nights in a row however, the next morning waking up... with nothing running mind you. Shut everything down except fluxbox.. it used up almost every bit of my 1gig of memory over night. I tested this again by rebooting, and not opening anything, and then checking the following morning to the same results. Using slabtop I can see xfs vnode and inode both using 200-300mb of memory. I could be off base on how important this is or isn't. If its not I'll just forget about it, I think in conky I can actually remove the disk buffer cache or whatever its called from the memory output on the graph. However this seems really ridiculous even if xfs was THAT bad with its cache, that it would consume nearly 1 gig of memory over night.

I am more inclined to believe it might related to something else, but it may just be that kde sucks, and so does xfs. If thats the case it looks like a format and retry round-3, before I try switching down to a 32bit version of the os...
Top
6D7474
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 135
Joined: Thu Sep 08, 2005 10:51 am

  • Quote

Post by 6D7474 » Thu Feb 16, 2006 11:16 pm

well, linux is quite aggresive in caching disk data... it's logical to use as much ram as you can - free ram is wasted ram. so nothing to worry about.
try:

Code: Select all

free -m
to see how much is used by programs and how much is cache.
Top
defuseme
n00b
n00b
Posts: 3
Joined: Thu Feb 16, 2006 10:32 pm

  • Quote

Post by defuseme » Thu Feb 16, 2006 11:53 pm

.. total used free shared buffers cached
Mem: 1002 985 17 0 0 295
-/+ buffers/cache: 689 312
Swap: 494 0 494


if you ask me, that isn't inspiring, even if it is 312 unused...
Top
xanas3712
Guru
Guru
User avatar
Posts: 455
Joined: Fri Oct 15, 2004 7:06 pm
Contact:
Contact xanas3712
Website

  • Quote

Post by xanas3712 » Fri Feb 17, 2006 1:42 am

Yes it uses more memory (windows too) to operate in 64 bits.

If you have only 1 gig you might consider sticking with 32 bit. If you have 2 gig (not expensive at all now) then you never will have this concern anyway.

I've not even touched my swap yet, with many apps open after days of uptime and multiple syncs, etc.
Top
energyman76b
Advocate
Advocate
User avatar
Posts: 2048
Joined: Wed Mar 26, 2003 11:31 am
Location: Germany

  • Quote

Post by energyman76b » Sat Feb 18, 2006 2:28 am

Hi,

well, you shall not confuse buffers and cache with 'normal' used memory.

Linux always tries to use as much as possible - and as long as there are no problems, why complaining?

Some stuff (kdelibs, wesnoth) will not build with 1gb and -j2 in your makeops, without some oom going on, but that is solvable by reducing it to -j1.
Has the advantage, that your box is much more responsive while emerging stuff ;)
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Top
loftwyr
l33t
l33t
User avatar
Posts: 970
Joined: Wed Dec 29, 2004 2:51 am
Location: 43°38'23.62"N 79°27'8.60"W

Re: AMD64 memory used like crazy..

  • Quote

Post by loftwyr » Sat Feb 18, 2006 3:00 pm

I don't understand the problem. Are you running into performance issues?

If not, who cares how much memory is free/cacahed/whatever?
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Top
Kow
Apprentice
Apprentice
Posts: 227
Joined: Sun Dec 28, 2003 6:51 am

  • Quote

Post by Kow » Sun Feb 19, 2006 6:32 am

The memory is there, it should be used or its a waste. Thats why I have my page file disabled in Windows, stupid Microsoft I have to force it not to use the page file.
-Kow
Top
SteveBallmersChair
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Wed Jul 12, 2006 3:18 am
Location: Being thrown around in Redmond

  • Quote

Post by SteveBallmersChair » Sun Aug 20, 2006 3:25 am

I have seen that the AMD64 version does use a lot of memory too. The longer I have the computer running, the worse it gets, to a point. When I boot, I use roughly 300MB of my 2GB in this box. After about 15 days of being up, almost all of the RAM is being used- NOT in caches or buffers. No one thing takes up very much memory- Xorg is the biggest and it's only ~45MB. I do run Folding@Home on this box and that uses some RAM, but when I exit it and its cores release the RAM they use, there's still not more than 200MB not being used as application memory.

I ask this as my system is now swapping fairly routinely with regular use and it did not when the uptime was less than about a week. What should I do and I don't want to HAVE to get more RAM as the price of 2 1GB sticks to fill up my board went from $145 when I built the machine to $200 today and it will knock my memory controller speed from DDR 400 to DDR 333.
Unix is user friendly- it is just picky who its friends are.
Top
dweigert
Guru
Guru
User avatar
Posts: 369
Joined: Fri Oct 04, 2002 10:49 pm
Location: Somerset, NJ USA

  • Quote

Post by dweigert » Sun Aug 20, 2006 5:45 pm

You might want to try a new kernel. I have noted that newer 2.6.16 kenrnels dealt with memory better. I haven't made the switch to 2.6.17, and won't due to xfs issues which were "corrected" in later 2.6.17 kernels. I'm going to wait for 2.6.18 to re build the kernel.

Dan
"Always remember to mount a scratch monkey..."
Top
SteveBallmersChair
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Wed Jul 12, 2006 3:18 am
Location: Being thrown around in Redmond

  • Quote

Post by SteveBallmersChair » Sun Aug 20, 2006 9:32 pm

I am running the latest stable 2.6.17 gentoo-sources kernel (2.6.17-gentoo-r4) and my partitions are all XFS, except /boot. What XFS issues were you talking about as I am curious now.
Unix is user friendly- it is just picky who its friends are.
Top
dweigert
Guru
Guru
User avatar
Posts: 369
Joined: Fri Oct 04, 2002 10:49 pm
Location: Somerset, NJ USA

  • Quote

Post by dweigert » Tue Aug 22, 2006 12:52 am

A subtle corruption was introduced in the 2.6.17 series of kernels. The gentoo-r4 and -r5 kernels contain the correction for the cause of the corruption, but you need to run the latest version of xfs_repair to fix the existing problems. The corruption will creep, and may cause all sorts of issues, if not addressed in a timely fashion.

Dan
"Always remember to mount a scratch monkey..."
Top
Locked

11 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic