Does it matter if the amount of a swap area in Linux was set too small (say 1Gb), and the main RAM is 128Gb?
Should we always set the amount of swap area to be twice the amount of RAM?
UPDATED:
Hi, thank all of you for replying this question. In fact, I have this question because we have encountered some problems when using a small cluster system. The problems are posted in Here. The following picture is some information about some of the computers in this small cluster.

The MEMTOT is the total amount of RAM of that machine, the SWAPTO is the total amount of SW
AP area of that machine, and the SWAPUS is the used amount of SWAP area. As shown in the picture, the usage of SWAP is indeed small.
When trying to solve those problems posted in Here, we're not sure if the amount of SWAP area is set too small, which is just 1Gb relative to 128Gb, as shown in the picture. Thus, I have this question. I'm sorry I didn't post the whole background information in the original version of this post. Before that, we also thought that if the amount of RAM is large, we could set the amount of SWAP small. We tried to set the SWAP of c0148 to be 16Gb, the problem seems to be none (Maybe we should take this conclusion after observing their statuses for a long time).
We're not professionals on Linux system, and we couldn't explain why this happened. It is a probability that this is a cluster system, and the SGE is managing the resources of each machine, and it needs to have a relative large amount of SWAP because that machine may be used by many jobs submitted by many users.
In addition, if we just set the amount of SWAP too large, what other problems it would cause is also worthy considering.