New box, memory problem

Liam Proven lproven at gmail.com
Sat Oct 22 14:39:46 UTC 2016


On 21 October 2016 at 16:52, compdoc <compdoc at hotrodpc.com> wrote:
>>* move swap from SSD to HD.
>
> No need for this. Please treat your modern SSD like any hard drive. There's a good chance it will outlive the system its installed in.
>
>
>>* Consider disabling journalling on filesystems on SSD.
>
> I feel this is bad advice:
>
> "A journaling file system is a file system that keeps track of changes not yet committed to the file system's main part by recording the intentions of such changes in a data structure known as a "journal", which is usually a circular log. In the event of a system crash or power failure, such file systems can be brought back online more quickly with lower likelihood of becoming corrupted."

This advice is simple and it's based on standard industry best
practice. I am not just making this up.

Flash memory cells *do* wear out from repeated write cycles. Hard
disks don't. Also, on Flash media, writes are much much slower than
reads. On magnetic media, they're about the same.

So minimising writes prolongs life _and_ improves performance.

Lifetime, no, not much; performance, more so... but if there is no
drawback or performance penalty, why not?

Journalling is intended to save filesystem integrity from incomplete
write cycles on spinning magnetic media. Because Flash is, relatively,
so fast, this is not much of an issue and journalling doesn't really
help, but it wears out the drive and slows operation. It's a lose-lose
situation.

http://askubuntu.com/questions/652337/why-no-swap-partitions-on-ssd-drives

https://www.leaseweb.com/labs/2013/07/5-crucial-optimizations-for-ssd-usage-in-ubuntu-linux/

https://thunk.org/tytso/blog/2009/03/01/ssds-journaling-and-noatimerelatime/

-- 
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/Twitter/Facebook/Flickr: lproven
Skype/MSN: lproven at hotmail.com • LinkedIn/AIM/Yahoo: liamproven
Cell/Mobiles: +44 7939-087884 (UK) • +420 702 829 053 (ČR)




More information about the ubuntu-users mailing list