OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Mar 06, 2021 9:37 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Programming and SSDs
PostPosted: Tue Jun 13, 2017 2:25 pm 
Offline
Member
Member

Joined: Thu May 17, 2007 1:27 pm
Posts: 824
So you're compromising system performance in order to reduce SSD wear? Just backup /home, use a modern distro and put everything else (including swap) on the SSD. If your setup depends on an SSD (or any other storage technology) not failing it is broken.

In my experience (enterprise grade) SSD are much more likely to fail randomly than because of wear.

_________________
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].


Top
 Profile  
 
 Post subject: Re: Programming and SSDs
PostPosted: Wed Jun 14, 2017 7:42 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7506
Location: Germany
Korona wrote:
So you're compromising system performance in order to reduce SSD wear? Just backup /home...


Well, actually, my /home resides on a RAID-1 fileserver, mounted via NFS. Safer with regards to data loss, and no matter which of my (multiple) machines I log on to, I get the same settings, files etc.

And as the fileserver is also a webserver, I get remote (password / SSL protected) access to all my documents even when none of my desktops / laptops / netbooks are "on".

Performance is not always the top priority.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: Programming and SSDs
PostPosted: Wed Jun 14, 2017 7:54 am 
Offline
Member
Member

Joined: Thu May 17, 2007 1:27 pm
Posts: 824
Solar wrote:
Well, actually, my /home resides on a RAID-1 fileserver, mounted via NFS. Safer with regards to data loss, and no matter which of my (multiple) machines I log on to, I get the same settings, files etc.

That is also what I had in mind, my comment was targeted at that "move swap to HD in order to reduce SSD wear" argument.

_________________
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].


Top
 Profile  
 
 Post subject: Re: Programming and SSDs
PostPosted: Wed Jun 14, 2017 6:42 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1738
Location: Athens, GA, USA
Mind you, a lot of these issue are going to get complicated again - for a time, anyway - by the introduction of high-speed non-volatile RAM such as 3D XPoint, MRRAM, Phase-Change RAM (which may or may not be what 3DXP actually is - there seems to be some distrust toward Intel on this, given the IP concerns it would have), CBRAM, or SONOS (depending on whichever proves most practical, with 3DXP getting an early lead as it is already out the door).

Setting aside specialized uses such as Optane, the long-term impact will probably be, on the one hand, an increasing shift to OS persistence and a move away from explicit disk access and file systems, and on the other, a multi-tier memory structure where each layer - DRAM, NVRAM, high-density Flash SSD, mechanical disk, and then finally long-term storage such as tape, optical, and possibly some of the newer ultra-high-density/stability storage systems such as millipede memory, SMR, and HAMR.

I expect that the two tendencies will reinforce each other, as multi-tier memory management will be demanding enough that a much if not all of the management of it will need to be handed over to the OS, even if conventional file systems remain the order of the day.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
μή εἶναι βασιλικήν ἀτραπόν ἐπί γεωμετρίαν
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Top
 Profile  
 
 Post subject: Re: Programming and SSDs
PostPosted: Wed Jun 14, 2017 8:31 pm 
Offline
Member
Member
User avatar

Joined: Wed Aug 17, 2016 4:55 am
Posts: 250
Korona wrote:
If your setup depends on an SSD (or any other storage technology) not failing it is broken.

I think the biggest problem is that if the drive breaks you need to buy a new one (and nobody likes to have to spend yet more money). One of the reasons why hardware breaking is a huge issue regardless of how many data back-ups you have (if you want reliability then you're going to need spare hardware that can be swapped for in the moment too, otherwise you're forced to wait).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group