Re: Linux doesn't seem to manage memory very well

Liste des GroupesRevenir à col misc 
Sujet : Re: Linux doesn't seem to manage memory very well
De : james.harris.1 (at) *nospam* gmail.com (James Harris)
Groupes : comp.os.linux.misc
Date : 02. May 2024, 14:47:24
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v105hc$3sg37$2@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 01/05/2024 11:46, Marc Haber wrote:
James Harris <james.harris.1@gmail.com> wrote:
Not a question, just an observation.
 A freqently wrong one as well.
 
I say that Linux doesn't seem to handle memory well because my laptop
had 8GB RAM (which, frankly, Windows seems to find perfectly adequate
for a similar workload). Under Linux the RAM would fill up and then swap
space would be used. Then the machine would become largely unresponsive
- e.g. taking minutes to switch between windows.
>
So I upgraded the RAM. It now has three times as much (i.e. 24GB)! But
even so, RAM has still steadily filled up until reaching the full 24GB.
What's more, it's now showing 4.8GB of swap space in use.
 Linux swaps out lesser used pages anyway to make the backing memory
available for buffers or cache.
 Those people writing memory management are really smart. Smarter than
you and me together. Don't assume them being stupid.
It may be unwise to assume there's such expertise. A number of years ago I came up with what I thought was a sensible design for a paging system. I later found that it corresponded very closely to the one used in Windows and differed markedly from the paging system used in Linux. I remember thinking that the latter was not a good design and since then I've experienced problems with Linux when memory fills up which I tend to assume are down to the design of its paging system - hence the, admittedly provocative, title of this thread.
I can't remember much about it now and Linux may well have changed the way it handles page depletion but my experience as a Linux user seems to bear out my negative view of its page management.
Whatever the details, in defence of Linux it should be noted that the Linux design may have to cope with a much broader range of hardware - e.g. CPUs which have no accessed or dirty bits - whereas Windows was x86 focussed.
--
James Harris

Date Sujet#  Auteur
1 May 24 * Linux doesn't seem to manage memory very well67James Harris
1 May 24 +* Re: Linux doesn't seem to manage memory very well6Marc Haber
2 May 24 i`* Re: Linux doesn't seem to manage memory very well5James Harris
2 May 24 i +* Re: Linux doesn't seem to manage memory very well3Marc Haber
2 May 24 i i`* Re: Linux doesn't seem to manage memory very well2Rich
2 May 24 i i `- Re: Linux doesn't seem to manage memory very well1Marc Haber
3 May 24 i `- Re: Linux user doesn't seem to manage memory very well1Lawrence D'Oliveiro
1 May 24 +* Re: Linux doesn't seem to manage memory very well6The Natural Philosopher
1 May 24 i+- Re: Linux doesn't seem to manage memory very well1candycanearter07
2 May 24 i+- Re: Linux doesn't seem to manage memory very well1Lawrence D'Oliveiro
2 May 24 i`* Re: Linux doesn't seem to manage memory very well3James Harris
3 May 24 i `* Re: Linux doesn't seem to manage memory very well2The Natural Philosopher
6 May 24 i  `- Re: Linux doesn't seem to manage memory very well1candycanearter07
1 May 24 +* Re: Linux doesn't seem to manage memory very well5David W. Hodgins
2 May 24 i`* Re: Linux doesn't seem to manage memory very well4James Harris
2 May 24 i +- Re: Linux doesn't seem to manage memory very well1Carlos E.R.
2 May 24 i +- Re: Linux doesn't seem to manage memory very well1David W. Hodgins
3 May 24 i `- Re: Linux doesn't seem to manage memory very well1The Natural Philosopher
1 May 24 +* Re: Linux doesn't seem to manage memory very well29Lew Pitcher
1 May 24 i`* Re: Linux doesn't seem to manage memory very well28Kenny McCormack
1 May 24 i +* Re: Linux doesn't seem to manage memory very well4Richard Kettlewell
2 May 24 i i+- Re: Linux doesn't seem to manage memory very well1Lawrence D'Oliveiro
2 May 24 i i`* Re: Linux doesn't seem to manage memory very well2Marc Haber
2 May 24 i i `- Re: Linux doesn't seem to manage memory very well1The Natural Philosopher
2 May 24 i +* Re: Linux doesn't seem to manage memory very well18Carlos E.R.
2 May 24 i i+- Re: Linux doesn't seem to manage memory very well1Marc Haber
2 May 24 i i`* Re: Linux doesn't seem to manage memory very well16James Harris
2 May 24 i i `* Re: Linux doesn't seem to manage memory very well15Carlos E.R.
3 May 24 i i  `* Re: Linux doesn't seem to manage memory very well14Computer Nerd Kev
3 May 24 i i   +* Re: Linux doesn't seem to manage memory very well4The Natural Philosopher
3 May 24 i i   i`* Re: Linux doesn't seem to manage memory very well3Computer Nerd Kev
3 May 24 i i   i `* Re: Linux doesn't seem to manage memory very well2The Natural Philosopher
4 May 24 i i   i  `- Re: Linux doesn't seem to manage memory very well1Computer Nerd Kev
3 May 24 i i   `* Re: Linux doesn't seem to manage memory very well9Carlos E.R.
4 May 24 i i    `* Re: Linux doesn't seem to manage memory very well8Computer Nerd Kev
4 May 24 i i     +- Re: Linux doesn't seem to manage memory very well1Carlos E.R.
4 May 24 i i     +* Re: Linux user doesn't seem to manage memory very well2Lawrence D'Oliveiro
4 May 24 i i     i`- Re: Linux user doesn't seem to manage memory very well1Computer Nerd Kev
4 May 24 i i     +* Re: Linux doesn't seem to manage memory very well3The Natural Philosopher
6 May 24 i i     i`* Re: Linux doesn't seem to manage memory very well2candycanearter07
6 May 24 i i     i `- Re: Linux doesn't seem to manage memory very well1The Natural Philosopher
6 May 24 i i     `- Re: Linux doesn't seem to manage memory very well1candycanearter07
2 May 24 i `* Re: Linux doesn't seem to manage memory very well5James Harris
3 May 24 i  `* Re: Linux doesn't seem to manage memory very well4The Natural Philosopher
3 May 24 i   `* Re: Linux doesn't seem to manage memory very well3James Harris
3 May 24 i    `* Re: Linux doesn't seem to manage memory very well2Richard Kettlewell
4 May 24 i     `- Re: Linux user doesn't seem to manage memory very well1Lawrence D'Oliveiro
1 May 24 +- Re: Linux doesn't seem to manage memory very well1Marco Moock
1 May 24 +* Re: Linux doesn't seem to manage memory very well13Grant Taylor
1 May 24 i+* Re: Linux doesn't seem to manage memory very well11candycanearter07
1 May 24 ii`* Re: Linux doesn't seem to manage memory very well10Grant Taylor
2 May 24 ii `* Re: Linux doesn't seem to manage memory very well9Marc Haber
2 May 24 ii  `* Re: Linux doesn't seem to manage memory very well8Lawrence D'Oliveiro
2 May 24 ii   +- Re: Linux doesn't seem to manage memory very well1Andy Burns
2 May 24 ii   +* Re: Linux doesn't seem to manage memory very well3The Natural Philosopher
2 May 24 ii   i`* Re: Linux doesn't seem to manage memory very well2Carlos E.R.
2 May 24 ii   i `- Re: Linux doesn't seem to manage memory very well1Marc Haber
2 May 24 ii   +- Re: Linux doesn't seem to manage memory very well1Marc Haber
2 May 24 ii   `* Re: Linux doesn't seem to manage memory very well2Rich
2 May 24 ii    `- Re: Linux doesn't seem to manage memory very well1Carlos E.R.
2 May 24 i`- Re: Linux doesn't seem to manage memory very well1James Harris
1 May 24 +* Re: Linux doesn't seem to manage memory very well2D
1 Jun 24 i`- Re: Linux doesn't seem to manage memory very well126xh.0717
1 May 24 +- Re: Linux user doesn't seem to manage memory very well1Lawrence D'Oliveiro
2 May 24 `* Re: Linux doesn't seem to manage memory very well3Carlos E.R.
2 May 24  +- Re: Linux doesn't seem to manage memory very well1Rich
2 May 24  `- Re: Linux doesn't seem to manage memory very well1James Harris

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal