LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-12-2021, 10:11 PM   #1
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
Shingled magnetic recording / Hybrid Drives vs Large compiling tasks


So my company got suckered into buying a bunch of these things...

https://en.wikipedia.org/wiki/Shingl...etic_recording

In particular a Seagate hybrid ssd variant.

I'm convinced the thing is slowing down and slowing down...

Anybody have any tricks io-schedulers tweaks... to try recover performance?

My work load is basically running as many gcc compiles as I have cpu cores for...
 
Old 05-13-2021, 08:03 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,430

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
They are aimed at density rather than speed. Writing might be faster than rewriting, so they did their initial bit quick, and are now slowing down to a lower normal Also, I'm sure the overlaps have to be verified.

I agree, you were suckered, but compiling isn't disk intensive if you don't have swap there. As for your drives, why not stick them on Ebay?
 
Old 05-13-2021, 09:48 AM   #3
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,000

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Here are two things you can try.

Prefetch the source files into the kernel's disk cache.

Code:
find sourcedir -type f -exec cp '{}' /dev/null \;
Run several times the number of jobs as the number of CPU cores. If a job gets blocked waiting for a disk read, other jobs still can run.
Ed
 
Old 05-13-2021, 04:03 PM   #4
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Original Poster
Rep: Reputation: 87
Yip. Already did that a few years back... I called it the most useful program I ever wrote that imperceptibly does nothing.

I also nice -19 ionice -c 3 it so it doesn't impact the desktop.
 
  


Reply

Tags
io_scheduler, shingled, smr



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
Shingled hard drive problems. Total data loss bodge99 Linux - Hardware 9 06-22-2020 12:19 PM
Xfce 4.12 and hybrid suspend (aka hybrid sleep) atelszewski Slackware 0 06-15-2017 10:00 PM
Advice on File System for Shingled Hard Drive? Stephen P. Morgan Linux - Desktop 1 07-22-2014 08:13 PM
LXer: Google Tasks Indicator: Quick Access To Your Google Tasks From The Ubuntu Panel LXer Syndicated Linux News 0 03-06-2012 11:40 PM
LXer: This week at LWN: Large pages, large blocks, and large problems LXer Syndicated Linux News 0 09-27-2007 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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