LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-25-2013, 10:04 PM   #16
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8

Quote:
Originally Posted by Mark Pettit View Post
I doubt you will see an amazing difference from the boot. But run the collect process again, setting the time from 120 to say 300 seconds. Then reboot and start X-windows, start Firefox, your email client (mine is Thunderbird), and then a few other programs you often use - do all that within those 300 seconds. Then, do the init 1 and run the re-alloc part again. Then reboot, start X and get into Firefox/Thunderbird/Libre-office etc and THEN you should see a clear difference.
Nice thought there. I would certainly try that out.
 
Old 09-26-2013, 01:45 AM   #17
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,068

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
Originally Posted by NoStressHQ View Post
I have a question about boot time: I can understand on a server to avoid too long downtime while rebooting, but on a workstation is it really worth it ? I mean I nearly never boot my systems, and the time of boot is generally so short relative to the whole time passed working in a running session, even on laptops.
well, I really don't halt/reboot my boxes very often (when it happens most of the times is because I built the latest kernel on them) so I may agree with you that usefulness of this is relative and, like explained in its faq, is only for rotating devices: if you get an SSD (also a small 60 Gb one, like I have in my home desktop) you'll see a real difference in disk access (and e4rat won't speed it more).
but maybe dual-booters just reboot more often and can see this as an improvement...

BTW, the point of this was just testing if e4rat works as advertised, and I think we can say it does
 
1 members found this post helpful.
Old 09-26-2013, 09:14 AM   #18
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by ponce View Post
[...]
but maybe dual-booters just reboot more often and can see this as an improvement... [...]
Oh yes ! I nearly forgot about that, even if I'm a "dual booter". Because I boot on windows anyway all the time because of my "business job" and the tools I use, and fortunately, VM Player allows me to share physical partitions with the native system, which I do (and abuse ). So at the end I rarely boot Slackware natively, and most of the time it's my VM running.

But yes, I remember when I had to boot more often because I wanted to be "native", and ok, there I can see the gain.

Thanks for the hint !
 
Old 09-27-2013, 10:08 PM   #19
storkus
Member
 
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 329

Rep: Reputation: 51
Just jumping in here to emphasize some info and a cautionary point:

First, you'll get a *MUCH* bigger boost from replacing your (boot) HDD with a SSD than you'll ever get from some defrag; plus, by definition, SSD's don't need defragging (provided you set them up correctly in the first place).

Second, to emphasize the point, you should *NEVER* defrag a SSD (or any other FLASH media) due to cell erasure wear.
 
2 members found this post helpful.
Old 09-29-2013, 04:51 AM   #20
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Quote:
Originally Posted by storkus View Post
First, you'll get a *MUCH* bigger boost from replacing your (boot) HDD with a SSD than you'll ever get from some defrag;
While e4rat is an interesting project, it's about 10 years too late. The industry is already in the final transition from rotating media to flash...

Quote:
plus, by definition, SSD's don't need defragging (provided you set them up correctly in the first place).
Modern solid-state drives are doing defragmentation internally, it's a side effect of having wear leveling. You can help them by using the Data Set Management TRIM functionality.

Quote:
Second, to emphasize the point, you should *NEVER* defrag a SSD (or any other FLASH media) due to cell erasure wear.
The additional wear on a hard disk head assembly by using defragmentation tools is worse. That fastest way to defragment a partition is to backup it completely, erase it and restore the backup. That adds just below one write-cycle (depending on used capacity) and SSDs have thousands of them. Defragmentation is actually less write intensive than that, because it moves less data.

So does defragmentation wear a drive? Yes, both HDD and SSD.

Is it useless on SSDs? Yes.

Does it harm or trash SSDs? No, not really. They're way to reliable for that.
 
Old 09-29-2013, 06:13 AM   #21
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 617

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by jtsn View Post
While e4rat is an interesting project, it's about 10 years too late. The industry is already in the final transition from rotating media to flash...
Hmmm - that would entirely depend on your definition of "final transition". If you mean "in the next 10 years", then you might be right. But I can assure you that SSD's for large system databases are just not cost-effective yet. Sure, they're making their way in areas such as high-speed logging, index lookups, cacheing etc, but for massive data storage - nope. Even now, a complete and matching replacement of the single 1 TB hard drive in my laptop would cost 3 to 5 times the price of the rotational storage drive. That I cannot afford right now.
 
Old 09-29-2013, 06:34 AM   #22
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Quote:
Originally Posted by Mark Pettit View Post
Hmmm - that would entirely depend on your definition of "final transition". If you mean "in the next 10 years", then you might be right.
By 2020 magnetic hard drives will be as obscure as floppy drives today. If you didn't notice: Half of the hard-drive vendors already left the market and the remaining ones put a big effort into catching the SSD train.

Quote:
But I can assure you that SSD's for large system databases are just not cost-effective yet.
This thread is about client boot speed optimization. The 2013 client computer OS drive is solid-state, except for low-cost offerings. These low-cost offerings have slow 250 or 320 GB HDDs installed now, and they may migrate to SSHDs soon.

Quote:
Even now, a complete and matching replacement of the single 1 TB hard drive in my laptop would cost 3 to 5 times the price of the rotational storage drive. That I cannot afford right now.
Well, a Slackware full install is below 10 GB. You don't need 1 TB of flash to achieve good results. Think of a laptop with a 256 GB mSATA drive. Then double the capacity every 18 months.
 
Old 09-29-2013, 02:39 PM   #23
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 617

Rep: Reputation: 297Reputation: 297Reputation: 297
Ok - If we're talking laptops and desktops then I concede defeat. :-)

For big servers using 10's of Terabytes of data we're still going to see hard disks for a while yet.
 
Old 09-29-2013, 03:02 PM   #24
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Quote:
Originally Posted by Mark Pettit View Post
For big servers using 10's of Terabytes of data we're still going to see hard disks for a while yet.
Let's talk about big data: Facebook stores a huge amount of images uploaded by users on spun down hard disks to keep the power consumption low. 99.9 % of that stuff is never accessed by anyone, but you don't know in advance, which is the important .1 %.

They're looking into a replacement technology called "cold flash", because the access times are naturally bad (up to 20 seconds for a spin-up). With cold flash (cheap, dense, slow with maybe less than 100 cycles), they could replace hard disks, save even more power, while having instant access to the data.

So even on the lowest tier of bulk storage hard disk drives still suck and will be replaced by solid-state storage sooner or later.
 
Old 09-29-2013, 10:59 PM   #25
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
At the end of the day, it boils down to the system cost which translates to profit margin for the shareholders.

SSD is easily 10 times more costly than HDD. Until the day we see comparable prices for both technologies, it is unlike for a drastic shift towards SSD.

Pretty much like the war between clean energy (solar, wind) and conventional energy (fossils fuel).
 
Old 09-30-2013, 04:03 AM   #26
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Quote:
Originally Posted by Ongbuntu View Post
SSD is easily 10 times more costly than HDD. Until the day we see comparable prices for both technologies, it is unlike for a drastic shift towards SSD.
Below very high capacities Flash is actually cheaper than HDD. Have you ever asked yourself, why you don't have a hard disk inside your phone or tablet?
 
Old 09-30-2013, 04:09 AM   #27
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by jtsn View Post
Below very high capacities Flash is actually cheaper than HDD. Have you ever asked yourself, why you don't have a hard disk inside your phone or tablet?
No but I know why my artists colleagues have "old" HDD... Because they need a lot of space to store media they're working on...

And they also have a lot of RAM to work on those media...

Well one day you might be right or not... But it's always funny to see people gambling on the future being "sure against all odds"...

For me future doesn't exist yet... The only things that interest me is what I'll have to finish in the near future... Gambling on what technology will be, is a little like believing cars will fly in year 2000...

Everybody KNOWS that cars couldn't fly because of the 2k bug...

Last edited by NoStressHQ; 09-30-2013 at 05:05 AM. Reason: So many typos to fix :)
 
Old 09-30-2013, 05:12 AM   #28
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Quote:
Originally Posted by NoStressHQ View Post
Gambling on what technology will be, is a little like believing cars will fly in year 2000...
It was gambling back in 2001, where some early birds invested into the solid-state storage business in belief, that it will become a big deal ten years later. The future was set in 2010/2011 as Hitachi and Samsung did exit the hard disk business.

At the end of the day, it's not relevant, which technology you believe in, but what the markets do. HDD production will cease when it becomes unprofitable, regardless of demand. As of today SSDs already have way higher profit margins than HDDs. The rest is pure economics.
 
Old 09-30-2013, 05:56 AM   #29
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by jtsn View Post
The rest is pure economics.
Nothing about oil shortage, no war scheduled or any "crisis" huh ? All pure economics...

Yeah yeah... But you were talking about what the market will be in 2020...

Again you might be right...

I don't "believe" in any technology. As I said I don't know future, I'm just working on it. Believe what you want, I'm not required to believe your beliefs, neither I say you're wrong for sure. I just don't like to "believe" that's my point.

And the thread was about does e4rat works now (maybe by extension "is it useful" by my fault in my question) not what the spin doctors have decided for 2020.
 
Old 09-30-2013, 07:05 AM   #30
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by NoStressHQ View Post
No but I know why my artists colleagues have "old" HDD... Because they need a lot of space to store media they're working on...
I also have mechanical HDDs, for data storage. That doesn't prevent me to also have SSDs for the OS. So maybe you both are right, while SSDs become more common HDDs will not go away soon.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Is Slackware a good Idea for a newbie? Gulrick Slackware 26 05-14-2012 04:38 AM
LXer: How To Cut Your Linux PC’s Boot Time in Half With E4rat LXer Syndicated Linux News 0 08-06-2011 01:30 PM
slackware 13.1 speeding up boot time H_TeXMeX_H Slackware 38 02-15-2011 09:41 AM
Slackware 9 Server, good idea?? ideas1 Slackware 14 06-24-2003 10:48 AM

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

All times are GMT -5. The time now is 11:25 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