On 05/11/2018 19.10, Liam Proven wrote:
On 05/11/2018 18:41, Carlos E. R. wrote:
No, based on the smartctl output:
=== START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.14 (AF)
Ah, OK. I forgot that was there to look back at -- sorry.
I use "lazytime" mount option. It may become a default option.
I will check that out.
But they seek faster on SSD :-)
True, but I can't tell any difference.
Depends on the application.
I have a machine that needs more RAM, but the board can't take more. Placing the swap on SSD gave the machine a huge speed difference.
Urgh. I try to avoid swap on SSD. My home laptop has 2 SSDs -- a big one with Win10 and a shared data partition, and a small one with Linux. I use the "zram" tool for dynamic compressed swapfiles in RAM for that, to avoid swapping to disk and wearing it out. It rarely hits swap at all.
Yes, it will wear up faster, but the alternatives are slow and get on my nerves... this way I delay purchasing a new computer. Mind: since some kernel version swap became very slow. I think it happened when going from 13.1 to leap 42.2. I suspect that swap is "fragmented" (i/o was just few megabytes, while the disk is capable of 150MB/S). Thus switching it to SSD made instant difference: the read speed is faster (although I have sata 3, not 6), but the seek speed goes wonderfully up.
Like this laptop: has 4 Gigs, and is currently using 1.6 of swap. I'm only running XFCE, Thunderbird and Firefox. Ah, I forgot clamd, takes half a gig, and I'm only using my trick on the desktop, is not automated yet. I must go back to it.
I do still use a 4GB laptop, but mainly for experimenting with PC DOS 7.1, Haiku and Oberon. None of them need all the RAM.
I also have Devuan, though, with XFCE, but that's pretty light and the OS does not do much hard work.
I see your predicament there -- I have an occasionally-used machine that is maxed out at 8GB and it really wants more -- but I'm not sure I'd burn the life of an SSD for it. You might find ZRAM useful.
I considered it.
And if it were me, I would lose clamd in that config. You are not going to catch anything on Linux. I don't know how to rephrase "caveat emptor" to mean "Windows users beware" but you get what I mean, I'm sure.
https://forums.opensuse.org/showthread.php/501160-Using-zram-amp-zswap
At home, I may move amavis and clamav to another machine. I use clamav because I like finding out if I am sent some virus garbage, mostly intended for Windows, of course. Unfortunately, if clamav is installed for manually scanning some file, amavis insists on using it automatically. Thus the clamav daemon has to be running, and it is a bad design, IMO. It keeps the data in memory even if not used for days. The trick I was talking about is using cgroups to increase swapines of a single process to 100. This does work, the next step is to do it automatically via systemd init file. But I'm busy with upgrading machines to 15.0 -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))