MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 29 posts ]  Go to page 1, 2, 3  Next
Hard Disk Drive Longevity with Linux vs Windows 
Author Message
Forum Veteran
Forum Veteran
User avatar

Joined: Mon Feb 12, 2007 1:45 pm
Posts: 5638
Location: Penn's Woods
Has thanked: 799 times
Have thanks: 649 times
Post # 292572
Post Hard Disk Drive Longevity with Linux vs Windows
It seems that my HDDs thrash a lot when running Windows compared to Linux. My theory is that disk fragmentation, pagefile read/writes, and the overall inefficiency of Windows in general makes the HDDs work harder. Not to mention anti-virus and anti-spyware software that always runs in the background with Windows.

Does anyone know of any data that either supports or refutes this? Are there any data pertaining to HDD failure rates with Windows versus Linux?

_________________
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver


Wed Jan 04, 2012 11:19 am
Profile
Forum Regular
Forum Regular
User avatar

Joined: Sat Dec 13, 2008 11:23 am
Posts: 549
Has thanked: 80 times
Have thanks: 43 times
Post # 292575
Post Re: Hard Disk Drive Longevity with Linux vs Windows
There was some information and discussion on a forum concerning SSD's, "OCZ Forums" or similar that went into some depth about HDD longevity Win v Linux. Sorry that's rather an imprecise lead..


Wed Jan 04, 2012 12:38 pm

Zevon thanked by: joany
Profile
Forum Guide
Forum Guide
User avatar

Joined: Mon Jun 30, 2008 8:06 pm
Posts: 2952
Has thanked: 52 times
Have thanks: 376 times
Post # 292577
Post Re: Hard Disk Drive Longevity with Linux vs Windows
in my entire time working with tech, i've not seen any OS specific HDD longevity studies. there are just too many variables, and too many different needs to make such studies useful.

at the individual desktop level, linux tends to perform better with less resources, so HDD utilization will likely be better than windows. but even making a statement like this is over simplifying things because linux, at it's core, is a multi-user system - always has been. desktop windows is meant to be a single user system. so what you're really comparing at this level is memory management efficiency.

XP has a RAM sweet spot below and above which performance can degrade. linux tends to not suffer that. i don't have windows 7, but my friends in tech say that it is vastly better than XP - they even say XP mode in W7 is better than XP - and it seems to not suffer from this same RAM issue because memory management has improved.

but performance of W7 is directly predicated, as with any windows version, upon you having more than the minimum stated required system resources.


Wed Jan 04, 2012 1:07 pm

GoManutd thanked by: joany
Profile
Forum Regular
Forum Regular
User avatar

Joined: Sat Dec 13, 2008 11:23 am
Posts: 549
Has thanked: 80 times
Have thanks: 43 times
Post # 292578
Post Re: Hard Disk Drive Longevity with Linux vs Windows
A little rider to @GoManutd's post;

Because of my mechanically minded self I really try to avoid any disk-thrashing. That means as a first approximation that there is no substitute for a sufficient quantity of user RAM.


Wed Jan 04, 2012 1:26 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Mon Feb 12, 2007 1:45 pm
Posts: 5638
Location: Penn's Woods
Has thanked: 799 times
Have thanks: 649 times
Post # 292580
Post Re: Hard Disk Drive Longevity with Linux vs Windows
GoManutd wrote:
XP has a RAM sweet spot below and above which performance can degrade. linux tends to not suffer that. i don't have windows 7, but my friends in tech say that it is vastly better than XP - they even say XP mode in W7 is better than XP - and it seems to not suffer from this same RAM issue because memory management has improved.

:eek: I've never heard that before. My computer (with WinXP loaded on it) came with 2GB. I have 4GB of RAM installed, the maximum my motherboard will allow, although WinXP only sees a little over 3GB of it. Now I'm wondering if 4GB is "too much."

But getting back to the HDD ...

I read more on this topic, and it seems that 'Nix does have a much lower HDD I/O throughput, as my unscientific observations show. However, this "advantage" may be a double-edged sword. Here's why:

It seems the firmware of some HDDs is set to spin down and park the HDD after X amount of time without any disk I/O activity. Since Linux doesn't have much disk I/O activity, this could lead to excessive spin-down/spin-up cycles that can wear out HDDs in a hurry. It seems that this mainly (only?) affects laptops with power-management features. Some people claim that the mean time between failures can be as low as 8 months for laptops running Linux, compared to 4-5 years of running Windows. The recommendation is to set hdparm values to over-ride power cycling completely.

There is a bug report claiming hat Ubuntu power cycles HDDs too aggressively: https://wiki.ubuntu.com/DanielHahler/Bug59695

My preliminary conclusion is that tower/desktop computers may benefit from a lower disk I/O rate, but laptops may suffer. What are other people's thoughts?

_________________
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver


Wed Jan 04, 2012 1:35 pm
Profile
Online
Administrator
User avatar

Joined: Wed Jul 12, 2006 2:17 pm
Posts: 10593
Location: Rochester NY
Has thanked: 812 times
Have thanks: 1398 times
Post # 292581
Post Re: Hard Disk Drive Longevity with Linux vs Windows
I do not worry about it. Backup and replace when necessary.

_________________
Forum Rules
Guide - How to Ask for Help
Link to Wiki
Rich

Acer Laptop V5-572G: Intel i5, 12 GIG mem, nVidia GT720M/Intel integrated graphics
Mx-14 Symbiosis
Kubuntu 13.10, KDE 4.11.2


Wed Jan 04, 2012 1:52 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sun Aug 06, 2006 3:02 pm
Posts: 2141
Location: New Zealand BOP
Has thanked: 65 times
Have thanks: 446 times
Post # 292582
Post Re: Hard Disk Drive Longevity with Linux vs Windows
There was a time when HDD thrashing was a real concern for Linux, but I don't think that is an issue any longer.

From what I have seen, windows is certainly much heavier in every single aspect of hard disk use.
Space requirement, need I say more, 23-28GB for a regular install with office based systems for Win7, minimum 10GB of rolling system backups, scheduled AV and malware scans, a file system, that causes fragmentation to an unbelievable level, repeated restarts, power management that causes frequent HDD spin down and restarts, immense page file in constant use, hibernation file used for every PM sleep event, constant heating and cooling, and the list goes on with Vista being the worst offender, 7 the next and XP in 3rd place.

Yes XP does have a sweet spot as far as RAM is concerned, it's 2GB. Any more than 2GB and the resources used to map the memory go beyond its optimum level so it actually slows down once you go past the 2GB barrier.

Mike P

_________________
Mike P

Regd Linux User #472293
(1)Lenovo e520, i7-2640M, 8GB, 750GB Seagate Hybrid, MX-14.1_DVD (my own respin)
(2) Asus M4A88TD-M, AMD Phenom II x4 955 CPU, Radeon HD 4250, 4Gb, 1.5TB, antiX-13-64


Wed Jan 04, 2012 3:00 pm

m_pav thanked by: joany
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Mon Feb 12, 2007 1:45 pm
Posts: 5638
Location: Penn's Woods
Has thanked: 799 times
Have thanks: 649 times
Post # 292585
Post Re: Hard Disk Drive Longevity with Linux vs Windows
m_pav wrote:
There was a time when HDD thrashing was a real concern for Linux, but I don't think that is an issue any longer.

From what I have seen, windows is certainly much heavier in every single aspect of hard disk use.
Space requirement, need I say more, 23-28GB for a regular install with office based systems for Win7, minimum 10GB of rolling system backups, scheduled AV and malware scans, a file system, that causes fragmentation to an unbelievable level, repeated restarts, power management that causes frequent HDD spin down and restarts, immense page file in constant use, hibernation file used for every PM sleep event, constant heating and cooling, and the list goes on with Vista being the worst offender, 7 the next and XP in 3rd place.


Your points agree with what I had assumed, until I read the caveats about excessive spin-up cycling with Linux. But since I use a tower instead of a laptop, I don't think I need to be concerned about that.

m_pav wrote:
Yes XP does have a sweet spot as far as RAM is concerned, it's 2GB. Any more than 2GB and the resources used to map the memory go beyond its optimum level so it actually slows down once you go past the 2GB barrier.


That's interesting and counter-intuitive. It makes me scratch my head and wonder what the folks are thinking out in Redmond (more RAM = worse performance). Is it possible to limit RAM usage with WinXP through some setting to keep it in the 2GB "sweet spot"?

_________________
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver


Wed Jan 04, 2012 3:54 pm
Profile
Forum Regular
Forum Regular
User avatar

Joined: Sat Dec 13, 2008 11:23 am
Posts: 549
Has thanked: 80 times
Have thanks: 43 times
Post # 292586
Post Re: Hard Disk Drive Longevity with Linux vs Windows
m_pav wrote:
From what I have seen, windows is certainly much heavier in every single aspect of hard disk use. Mike P


A great summary, thanks!

My desktop HDD never spins down except when I want it to, Seagate power-saving disabled etc.. <wink>

The disk in my ancient Vaio laptop has also been spinning constantly when powered on, 7 years service so far.


Wed Jan 04, 2012 3:57 pm

Zevon thanked by: joany
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Mon Feb 12, 2007 1:45 pm
Posts: 5638
Location: Penn's Woods
Has thanked: 799 times
Have thanks: 649 times
Post # 292587
Post Re: Hard Disk Drive Longevity with Linux vs Windows
Zevon wrote:
m_pav wrote:
From what I have seen, windows is certainly much heavier in every single aspect of hard disk use. Mike P


A great summary, thanks!

My desktop HDD never spins down except when I want it to, Seagate power-saving disabled etc.. <wink>

The disk in my ancient Vaio laptop has also been spinning constantly when powered on, 7 years service so far.

Good data points. Do you run Linux on your Vaio? Does it have power-saving disabled by design or did you change the settings (7 years of service is a loooong time)?

_________________
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver


Wed Jan 04, 2012 4:01 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 29 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.