Does the blocksize (bs) value in swap settings matter? If yes, is there a command to show current settings about swap block size?
Solution 1:
According to the following link, this is the way to read the NUL bytes in /dev/zero (using blocks), only the bs
x count
value matters.
https://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
Solution 2:
According to https://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/ the block size is the number of bytes to read and write at a time. Most places recommend 1k (1024). The following article shows a way to determine the best block size.