[mdlug] Question about swap spaces

David L Lambert davidl at lmert.com
Sun May 10 19:39:18 EDT 2020


I agree. Swap space is per CPU, in other words per kernel instance, and there's no partitioning or subdividing swap-space. 

It might make sense to put swap-space on a NAS where local disk is slow and NAS is fast, or to temporarily run a process that allocates huge memory but uses it lightly.  Or the NAS supervisor itself might use swap, but that's probably bad for both performance and reliability.

-----Original Message-----
From: mdlug-bounces at mdlug.org [mailto:mdlug-bounces at mdlug.org] On Behalf Of Carl T. Miller
Sent: Sunday, May 10, 2020 7:08 PM
To: mdlug at mdlug.org
Subject: Re: [mdlug] Question about swap spaces

I can't think of any reason to have swap space on a NAS.  Swap space is used by the OS, and it is not associated with data partitions.  (Granted, swap space can be on a partition, but it isn't used by any
partition.)  So...if you need swap space, that should be on a device on the computer.

Since you already have several partitions on the NAS and you plan to provide access to each as needed, is there anything else you need?

c


On 5/10/20 5:17 PM, email5000 at usa.com wrote:
> Is there any reason you would want multiple swap spaces on a [NAS] 
> data drive?
>
> Suppose you have a partition for 'workspace' plus just general data. 
> You have another partition for multimedia (mm), which you want to be 
> able to stream. You could even extend the scenario to include a third 
> partition for a website. You want them all separate due to 
> accessibility issues (you don't want your family accessing your 
> data/workspace, but mm OK for some, while website accessibility is OK 
> for others. Would you want (or even NEED) a separate swap space for each of those 2-3 'primary-purpose'
> partitions?
>
> Thoughts?.....
>
> Thx,
> -Rich.
>
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>

_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug




More information about the mdlug mailing list