[question] memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Can anybody explain this to me please.

I have 1.5GB RAM - dmesg (boot -> append="mem=1536M"):

639MB HIGHMEM available.
896MB LOWMEM available.

I have 2GB swap:

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         244     1959898+  82  Linux swap

I have no issues on this - works GREAT.  Normally, after a reboot, and over 
night after logrotate/updatedb etc. run, I end up with about 200MB free RAM 
that is used/reclaimed.  very rarely do I hit disk swap at all (building KDE 
usually grabs about 100Kb, but that is infrequent).

Last week I bought my first DVD player (yes, I know, I am late to the party!).  
When I watch a DVD (Xine), memory usage hardly goes up (no swap ever used).  
But after finishing, I then see memory usage is way down:


nick@linuxamd:nick$ uptime; free
 21:11:26 up 1 day,  4:57,  1 user,  load average: 0.06, 0.10, 0.26
             total       used       free     shared    buffers     cached
Mem:       1556216     411144    1145072          0      28408     236704
-/+ buffers/cache:     146032    1410184
Swap:      1959888          0    1959888


Why is this?

Thanks,

Nick

-- 
"Person who say it cannot be done should not interrupt person doing it."
-Chinese Proverb
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux