LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2024, 09:10 PM   #1
johan51234321
LQ Newbie
 
Registered: Jun 2024
Location: Lissabon, Portugal
Distribution: ubuntu 22.04 LTS
Posts: 4

Rep: Reputation: 1
Question Is there any way to speed up my storage access speed on Linux?


I have an SSD, but many of my tasks are still significantly slowed by the storage read and write times? Is there any software that can somehow optimize it? I already switched to SSD so I can't improve hardware anymore.

I tried to search or ask around but couldn't find any good answer.
 
Old 06-15-2024, 09:39 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,424
Blog Entries: 28

Rep: Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167
Please read this, then provide more information, such as the make/model of the machine, the distro/version you are using, and anything else that may seem relevant.

Oh, and welcome to LQ.

Last edited by frankbell; 06-15-2024 at 09:40 PM.
 
Old 06-16-2024, 01:56 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,173

Rep: Reputation: 4126Reputation: 4126Reputation: 4126Reputation: 4126Reputation: 4126Reputation: 4126Reputation: 4126Reputation: 4126Reputation: 4126Reputation: 4126Reputation: 4126
Quote:
Originally Posted by johan51234321 View Post
I have an SSD, but many of my tasks are still significantly slowed by the storage read and write times?
What data gives you the confidence to make this statement ?.
 
Old 06-16-2024, 03:02 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,550

Rep: Reputation: Disabled
Load to ram, (if you can), will speed up your computing, but takes considerably longer to load.
 
Old 06-16-2024, 03:37 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,193

Rep: Reputation: 7396Reputation: 7396Reputation: 7396Reputation: 7396Reputation: 7396Reputation: 7396Reputation: 7396Reputation: 7396Reputation: 7396Reputation: 7396Reputation: 7396
yes, in general we can't suggest anything, there is no global solution. Would be nice to know more details, like:
how do you know it is slow (did you make any measurement or comparison)?
what is it all about (is it a database, a lot of small files or huge files or how is this storage used)?
what kind of OS and app is it?
what hardware do you have (storage, ram, cpu, swap, .... how is it configured)?

The very first step would be to find the real bottleneck, but without any usable information hard to tell anything.
 
Old 06-16-2024, 05:43 AM   #6
Braddd
LQ Newbie
 
Registered: Jun 2024
Location: Thailand
Distribution: debian 12
Posts: 3

Rep: Reputation: 1
Post There exists some software to "speed up" memory access, but its effects are small compared to hardware updates.

I have seen several tools for speeding up storage access, the one I am most familiar with for linux systems is fstrim.

There is a tutorial for optimizing ssd access with fstrim, and a more general tutorial for optimizing ssd.

There are plenty of resources, but remember that none of them compare to the good old hardware upgrades.
 
Old 06-16-2024, 06:07 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,560

Rep: Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384Reputation: 2384
You're barking up the wrong tree. Buy parts - that's how you do it. Spend money.

You get a go-faster stripe with fstrim. You get real speed with an NVME or two on a very decent motherboard. Watch your specs carefully, as my board has pcie-4.x on one nvme, but only pcie-3.x on the other. Anyhow, there's faster stuff about. Probably best to buy a server M/B.

Also an option is Raid 0, using 3 disks. Disks 1 & 2 stripe your data in turn, while disk #3 keeps track. Backups are essential.

Don't waste your time seeking some tweak that will magically multiply your access times or bandwidth.
 
  


Reply



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
confused over terminology of internal storage and SD card storage - howto encrypt the 128GB of internal storage lgtrean Linux - Mobile 3 12-27-2021 01:27 AM
confused over terminology of internal storage and SD card storage - howto encrypt the 128GB of internal storage (2nd try) lgtrean Linux - Mobile 1 12-24-2021 12:45 PM

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

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