> Ive heard something weird about Solaris /tmp that > shares it with swap partition or something? Are they > both the same? swap and /tmp???
/tmp on Solaris uses tmpfs, a pseudo filesystem which is on the swap slice, usually s1. Any time one writes anything to /tmp, one is actually using one's virtual memory (swap + RAM). > Generally I want a file system that gets > frequently to, as a separate partition (because of > fragmentation). UNIX file systems do intelligent allocation during writes resulting in fragmentation of 0.1 - 0.2%, even over a very long period of use, so fragmentation is mostly an unknown issue on UNIX systems. Consequently, there are no "disk defragmenters" on UNIX because they are not needed. > Any suggestions? Is /tmp too small? Im a Unix noob > and dont really know what sizes are appropriate or > typical for a Unix installation. Are there any other > file systems listed that gets frequently modified? Your swap slice should be 1GB at a minimum, if you have less RAM than 1GB. If you have more than 1GB of RAM, then the following formula works well: swap = sizeof(RAM + 64MB) In principle you need at least as much swap space as you have physical RAM, so that if the system crashes, it can dump all of his memory into the swap slice. Otherwise, it can double-panic, and that can turn out to be very, very ugly. swap allocation in general depends on what the system will be used for. For a desktop or an infrastructure server, the above formula works well. For a system that will do lots of finite element analysis and work with models which are in gigabytes and 1 million degrees of freedom with 100 million elements, swap slice might need to be many, many times the physical RAM. > /var - 3GB (log files, writes here frequently?) > > /tmp - 3GB (unsure of this, but frequently written? > is it same as swap?) > > / - 30GB (I maybe want to install Brandz and Linux, > and Linux software on top, like matlab, etc. Also I > will install Wine and Windows stuff on top, like > Diablo2, Starcraft, etc.) I recommend you allocate the following slices in your Solaris partition: s0: / sizeof(s2 - (s1 + s7)) s1: swap sizeof(RAM + 64MB) s7: unassigned 64MB (for metadb) That's it. No /var, /usr and especially no /home. /home is reserved for the AutoMounter facility. If you want a separate home directory slice, use /export/home and size it to whatever you think you will need, but I advise you against doing that, because you will have used the disk space inefficiently. This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
