Although beeing a 64bit OS, Illumos is very RAM efficient

Ex:
On my OmniOS 151044 VM with 4 GB RAM, I see this in napp-it after powerup
with Apache webserver running.

*Memory usage via memstat*

Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     165785               647   16%
Boot pages                    125                 0    0%
ZFS File Data               90172               352    9%
Anon                        56415               220    5%
Exec and libs                1339                 5    0%
Page cache                   7642                29    1%
Free (cachelist)             6129                23    1%
Free (freelist)            718791              2807   69%

Total                     1046398              4087
Physical                  1046397              4087

I would expect a system up from 2GB even with a Mate GUI to be stable but slow as free RAM above is mainly needed as a read/write cache for performance. OmniOS without GUI needs less RAM similar to OI text, console only. As a rule of thumb, I would want at least around 400k writecache per userĀ  (whole writcache is around 10% RAM per default). From the rest I would calculate 70% as readcache.

With 4 GB I would expect around 2GB for OS and GUi with around 400kB writecache (ok for a single user) and maybe 1,2 GB Arc readcache. Overall 4GB should work but is slow unless you use fast SSD/NVMe as pool disks, every GB more would improve performance due more RAM caching.

Gea

On Sat, Feb 25, 2023 at 06:32:38AM -0500,[email protected]  wrote:
How much ram is the best for openindiana? I ask because I only have
PCs with maximal 4 GB ram.
More is best.
But this seems to be usable:
$ VBoxManage showvminfo oi --machinereadable|grep mem
memory=3072

root@openindiana:~# swap -lh
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 272,2        4K    8.00G    7.93G
root@openindiana:~# pkg info firefox
              Name: web/browser/firefox
           Summary: Mozilla Firefox Web browser
          Category: Applications/Internet
             State: Installed
         Publisher: openindiana.org
           Version: 110.0
            Branch: 2023.0.0.0
    Packaging Date: February 18, 2023 at 11:36:57 AM
Last Install Time: February 25, 2023 at 04:48:15 AM
              Size: 305.99 MB
              
FMRI:pkg://openindiana.org/web/browser/[email protected]:20230218T113657Z
       Project URL:https://www.mozilla.com/en-US/firefox/
        Source 
URL:https://ftp.mozilla.org/pub/firefox/candidates/110.0-candidates/build3/source/firefox-110.0.source.tar.xz

YMMV.
John
[email protected]

------------------------------------------
illumos: illumos-discuss
Permalink:https://illumos.topicbox.com/groups/discuss/T3bd5464032809208-M4bb038eee4f7201bac21d34b
Delivery optio

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T3bd5464032809208-M778ac34988e714dfd2b9c565
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to