LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-06-2019, 12:05 AM   #16
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

Quote:
Originally Posted by gus3 View Post
I also delete the ext4 journal on SSD, to reduce writes even more. ext4 can be tuned to be very flash-friendly, but this particular boost comes at the cost of fsck time in the event of system crash.

My 2¢.
At the point NAND technology is nowadays, I don't think you should be reducing writes at the cost of potential data corruption...
 
2 members found this post helpful.
Old 05-06-2019, 12:14 AM   #17
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
Quote:
At the point NAND technology is nowadays, I don't think you should be reducing writes at the cost of potential data corruption...
Well, I do maintain backups of my personal data. Anything else (e.g. Slackware-current) can be reinstalled.
 
Old 05-06-2019, 12:55 PM   #18
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by gus3 View Post
Well, I do maintain backups of my personal data. Anything else (e.g. Slackware-current) can be reinstalled.
Backups are always good. But NAND is a lot more resilient than it used to be and can usually withstand 100s of TBs written, many will run into the PB range (my drive is rated for 700TBs and if I were to write 50GB/day, which I'm nowhere close to doing that, my drive would last me 38+ years before the NAND wears out). Getting rid of a journal that could prevent corruption to save on the little bit of writes to prolong the longevity even further than it already is just isn't worth it in my book.

But it is nice to have discussions so people can see both sides and make whatever decision is best for them. Discussions like these in the past is what led me to do all my research on SSDs and NAND.
 
Old 05-06-2019, 12:59 PM   #19
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
This is a different case, but I use journaling on my FreeBSD install (UFS) and my SSDs are 3 years old but have a ton of life left when I run smartctl against them. Agree that SSD drive technology now has made them very reliable and long lasting.
 
Old 12-21-2019, 03:45 AM   #20
bigfoot cascadia
LQ Newbie
 
Registered: May 2008
Posts: 18

Rep: Reputation: 1
Late Aadditional Information - relatime

Hey all, I found this thread very informative as I work to understand the NVME/SSD I just got in a new laptop and preparing to do a dedicated Slackware64-current installation. As I was confirming for my self that noatime and nodiratime where, in fact, /fstab options, not having used them before. It seems that nodiratime has been subsumed into noatime, making nodiratime redundant and unnecessary. I also came across the relatime option options-atime-vs-relatime, which is a mix of options which reduces SSD access traffic. I seems relevant to the previous discussion.
 
Old 12-21-2019, 10:12 AM   #21
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by bigfoot cascadia View Post
It seems that nodiratime has been subsumed into noatime, making nodiratime redundant and unnecessary.
Looking at the man page for mount, it isn't that nodiratime has been subsumed, just that it is part of noatime. So, you're still able to specify nodiratime as a mount option, but if you specify noatime, it will automatically include nodiratime. I wasn't aware of this, so thanks!

Quote:
Originally Posted by bigfoot cascadia View Post
I also came across the relatime option options-atime-vs-relatime, which is a mix of options which reduces SSD access traffic. I seems relevant to the previous discussion.
This kinda just comes down to what you want on your drive. noatime will just mean that you'll never have updated access times, which I don't really care about on my system. I'm more interested in the modified times. But if access times are interesting to you, relatime kinda is a mix, where it will update the access times only if the access time is before the modified/changed time or the access time was more than 1 day ago. This is actually the default for all kernels (since 2.6.30). If you want access time updated every time, no matter what, you need to use the strictatime option.
 
1 members found this post helpful.
Old 12-24-2019, 06:00 PM   #22
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
There's a new option ("new" as in I just discovered it) : "lazytime". Basically, it means the sysadmin prefers speed over persistence, when it comes to a file's atime/ctime/mtime values, but the times should be updated when it's sensible to do so, 24 hours later at the longest.

Read the cached inode; update the cached inode; don't write to non-volatile storage without an immediate need.

The "lazytime" option is documented in mount(8).

UPDATE: I just did a network-intensive test, using rsync over NFS, with the NFS share on a Raspberry Pi mounted with "lazytime". The basics:

-- in an Xterm
-- and in SSH
-- all disk cache warmed as much as possible
-- tested over both IP v4 and v6

My initial impression is that "lazytime" does reduce disk I/O. I heard a lot less disk I/O (a.k.a. "thrashing"). It's un-scientific to say this, but I'll take that less-audible knocking-about as a good thing.

Last edited by gus3; 12-24-2019 at 08:46 PM. Reason: "lazytime" is proving good in initial tests!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access To Encrypted SSD Partition With Native Password in SSD>SATA Enclosure skidvicious Linux - Hardware 5 12-03-2015 04:40 PM
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
To SSD or not to SSD jlinkels Linux - Hardware 14 10-02-2012 07:36 AM
SSD raid1 vs SSD raid10 advice ? wonker Linux - Hardware 8 05-23-2012 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration