Quote:
Originally Posted by
MadeInGermany
Q1) Problem: the swap would trash the filesystem!
BTW my personal thumb formula is: swap-GB = 4 x SQRT(RAM-GB)
Q2) No, can be any size.
Q3) The larger the used swap, the lower is the paging to/from the swap. The unused swap does not matter for performance (but is wasted disk space).
Hi MadeInGermany
Thanks for your reply.
Quote:
Q1) Problem: the swap would trash the filesystem!
Q1) Do you mean that there will be a problem if i use a partition with an existing UFS filesystem as the swap device ? or do actually you mean "No problem" ?
Quote:
swap-GB = 4 x SQRT(RAM-GB)
Q2) That would be 4 x SQRT(128GB) = 4 x 11.31 = around 48GB ?
Quote:
Q3) The larger the used swap, the lower is the paging to/from the swap. The unused swap does not matter for performance (but is wasted disk space).
Q3) Can you elaborate abit further here ? - The "used" swap here means "allocated" swap or really "utilized" swap. I thought when memory is insufficient, paging to/from swap will occur. So how does having a big swap reduce paging ?
Last but not least, is it okay for me to use my 100GB partition with UFS filesystem as my new swap device ? - as I do not want to re-partition the harddisk and affect the rest of my partitions
p.s. initially i allocate 32GB of swap for my 128GB ram, but oracle's grid installation for database suggest 0.75(RAM) for swap, and hence i am trying to use an existing partition (100GB) as the actual swap device
Hope to hear from you soon.