Create a Zram is good for my case?

Ting

Member
Oct 19, 2021
107
5
23
57
Hi,

I have a 3 node clusters using x3650 m5 servers, and I am running out of disk slots, therefore, last week, I setup a zfs two SDs by using SD adaptor came with the server, SD speed is low but working fine. Today I noticed there some IO delay and slow writing response time on SDs (I guess SD's 10mb/s speed causing it). Because I have about 50% memory never been used, I am thinking to setup a zram to move log and swap to it, my question is:

1. is this a good use of zram?
2. once zram is setup and moved log and swap, will my IO delay disappear? will my slow writing response time errors will go away?
3. once server is rebooted, I will loose all the logs, no any drawback on that?

Thanks many in advance.