DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4 Weeks Ago
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 113
Default Is noatime necessary ?

Hi,
I am using a SSD. Should I add noatime to fstab ?

If yes how ?

Code:
cat /etc/fstab                                                               
45aa2bf0be15f70c.b none swap sw
45aa2bf0be15f70c.a / ffs rw 1 1
45aa2bf0be15f70c.k /home ffs rw,nodev,nosuid 1 2
45aa2bf0be15f70c.d /tmp ffs rw,nodev,nosuid 1 2
45aa2bf0be15f70c.f /usr ffs rw,nodev 1 2
45aa2bf0be15f70c.g /usr/X11R6 ffs rw,nodev 1 2
45aa2bf0be15f70c.h /usr/local ffs rw,wxallowed,nodev 1 2
45aa2bf0be15f70c.j /usr/obj ffs rw,nodev,nosuid 1 2
45aa2bf0be15f70c.i /usr/src ffs rw,nodev,nosuid 1 2
45aa2bf0be15f70c.e /var ffs rw,nodev,nosuid 1 2
__________________
OpenBSD 6.2
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
  #2   (View Single Post)  
Old 4 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,944
Default

s it necessary? That is entirely up to your individual requirements.

SSD devices do not have seek or rotation delays, so the performance (and power consumption) is different than if you are using mechanical disk drives.

If performance is of any concern, run your own tests, with and without the option, and determine if there is any perceived performance benefit from disabling atime recording.

To add the option to fstab(5), include it in the fs_mntops string, as described in the fstab(5) man page.
Reply With Quote
  #3   (View Single Post)  
Old 4 Weeks Ago
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 113
Default

If its no big deal I don't want to play with a perfectly stable system. I will just keep using it and if I notice performance deterioration I will think about adding it to fstab.

Thanks for the info.

BTW, do you use a SDD. Have you enabled noatime ?

Just trying to get an idea about how people use SSDs under OpenBSD.
__________________
OpenBSD 6.2
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics

Last edited by bsd007; 4 Weeks Ago at 12:57 PM.
Reply With Quote
  #4   (View Single Post)  
Old 4 Weeks Ago
TronDD TronDD is offline
Package Pilot
 
Join Date: Sep 2014
Posts: 155
Default

I use noatime with SSDs and spinning rust just by default. It's information I don't ever use so why spend the cycles writing it?

Is there a performance or SSD life expectancy benefit? I have no idea. It's not worth the effort for me to find out. Again, it's info I have never needed and it takes a second, one time, to add it to the fstab.

That's my take on it. Other's needs/experiences may vary.
Reply With Quote
  #5   (View Single Post)  
Old 4 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,944
Default

I no longer have any mechanical drives. At one time I used it on a small netbook to try to reduce power consumption and improve I/O performance. There was no observable performance improvement for my application mix, however.

I have found atime metadata to be helpful for some problem diagnostics and some security audits, so I use it on all systems I operate. Storage is SSD, except on my Alix systems, where I use compact flash.

These days, I only use noatime with async, when initiation a restore(8) on a newly formatted filesystem.
Reply With Quote
  #6   (View Single Post)  
Old 4 Weeks Ago
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 113
Default

I will just wait and watch what happens but I absolutely do not want to leave OpenBSD because it lacks fstrim. But I really hope they add it in the near future.
__________________
OpenBSD 6.2
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
  #7   (View Single Post)  
Old 4 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,944
Default

https://www.tedunangst.com/flak/post...ned-about-TRIM
Reply With Quote
  #8   (View Single Post)  
Old 4 Weeks Ago
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 113
Default

Quote:
Originally Posted by jggimi View Post
I am getting this
Attached Images
File Type: png error.png (22.9 KB, 12 views)
__________________
OpenBSD 6.2
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
  #9   (View Single Post)  
Old 4 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,944
Default

Yup. Because he's using a root CA your browser does not recognize.

https://www.tedunangst.com/flak/post/moving-to-https
Reply With Quote
Old 4 Weeks Ago
demifiend's Avatar
demifiend demifiend is offline
Real Name: Matthew Graybosch
Silent Protagonist
 
Join Date: Oct 2017
Location: Harrisburg, PA
Posts: 29
Default

Both of my laptops still use spinning rust drives, so I always use noatime to stretch the battery a little further.
__________________
OpenBSD 6.2-RELEASE on Thinkpad T430s, ThinkCentre M92P, and Clevo W24AEU
Web | Keybase | Mastodon | GitHub
"What happens in the TARDIS stays in the TARDIS."
Reply With Quote
Old 4 Weeks Ago
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 113
Default

Quote:
Originally Posted by jggimi View Post
This is very informative. Thanks.
__________________
OpenBSD 6.2
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding 'noatime' and 'softdep' mount options to '/etc/fstab' J65nko Guides 3 16th February 2010 05:30 AM


All times are GMT. The time now is 12:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick