|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
free memory
i still can't understand how much free memory my OpenBSD machine has.
Code:
Memory: Real: 32M/136M act/tot Free: 863M Swap: 0K/1279M used/tot |
|
|||
So in the above I've got 992/1024MB ram free?
|
|
|||
but why 136MB used? i do not run anything big :/
|
|
|||
It's not as simple as "used" or "free", memory management is a complex aspect of modern operating systems.. a portion of physical memory is reserved for the kernel, and some memory is used for various system caches, like VFS/block caches, and network buffers.
Modern memory management works on the concept of "pages", and "virtual memory", pages being small chuck of memory, which are mapped into a processes memory space.. these pages don't have to be in physical memory and can be temporarily placed on secondary storage (..disk swap) and the released memory can be allocated by another process or even used for caches. It's very complicated, but, you can either trust that the kernel is managing your memory in the best way possible.. or.. read the source, as jggimi suggests. |
|
|||
Ok, thank you both!
|
|
|||
As a note, OpenBSD works on systems with very little memory.. <= 16M even, but, if you have more memory, it's going to make use of it (..except for memory above 4G on x86).
Unused memory is wasted memory, as the saying goes for Unix systems. |
|
|||
amd64 is also called x86_64. So the _64 is just tacked on when referring to 64 bit.
|
|
|||
That's just the vendor-neutral way of referring to it, but, really, AMD came up with it first, so it's amd64, just like how the x86 port is called i386.
Clearly all of this is redundant though, and has little baring on this thread. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Memory Not Detected | jrs | OpenBSD Installation and Upgrading | 3 | 19th May 2009 05:50 PM |
What's the difference between these two memory modules? | Carpetsmoker | General Hardware | 2 | 25th November 2008 03:13 PM |
KDE4 uses a lot of memory... | mdh | FreeBSD General | 6 | 21st October 2008 06:21 AM |
dwindling memory | chavez243 | FreeBSD General | 15 | 26th August 2008 04:06 PM |
Memory cache | graudeejs | FreeBSD General | 3 | 9th July 2008 03:27 AM |