LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-18-2020, 10:48 AM   #1
marius09
Member
 
Registered: Mar 2019
Posts: 37

Rep: Reputation: Disabled
iowait


hi,
i order to reduce the wa (iowait)there are several thing to be done:
-RAM increase -in order to have mnore buffer
-change the disk with a fater disk.

If i like to backup the file system from this host to elshwere outside this server,adding RAM will reduce the wa?
 
Old 06-18-2020, 12:21 PM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,809

Rep: Reputation: 4869Reputation: 4869Reputation: 4869Reputation: 4869Reputation: 4869Reputation: 4869Reputation: 4869Reputation: 4869Reputation: 4869Reputation: 4869Reputation: 4869
most probably no.
Adding correct title will help [you] to get better answers.
 
Old 06-19-2020, 01:47 PM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,977

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Quote:
Originally Posted by marius09 View Post
hi,
i order to reduce the wa (iowait)there are several thing to be done:
-RAM increase -in order to have mnore buffer
-change the disk with a fater disk.

If i like to backup the file system from this host to elshwere outside this server,adding RAM will reduce the wa?
The iowait parameter is the time spent by processes for I/O to complete---waiting for read heads to reach the right spot on a disk for reading or writing or, even worse, waiting for networked storage to respond. When I would see high iowait times on systems, it normally had to do with an application that was doing huge amounts of I/O directed at a single disk. Looking at the I/O queue depth for the disk would show huge numbers. On Linux, you can get comparable information by looking at the transactions/sec obtained by the "iostat" command. Back in the day... a queue depth of 50 was considered maxed out; I'd sometimes see sluggish systems with queue depths in the hundreds. (Time to talk to the developers about re-jiggering the application's file layout.) Finding a way to spread the I/O across multiple disks would, generally, help immensely. Now that we have single disks with capacities that exceed what used to require a 7ft tall 19" data center cabinet full of disks, directing all of an application's I/O at a single disk is now the norm than the exception.

Adding more RAM to allow more caching might help but, if the application(s) are doing random reads, caching may not help much---the cache contents may be useless for the next read.

Moving data to faster disks will help but I haven't seen 10K and 15K RPM disks on the market for years.

IMHO, finding a way to spread the I/O around across many devices is the best bet. I've worked with DBAs to set up databases where the tablespaces for data and the indices for that data were spread across on different disks (tablespace A and indices for A were never on the same disk) on an Oracle database server---it was apparent when a junior DBA broke that rule when setting up a new application's data. Check your applications' configurations and see if there's a means of moving some of the data to other disks.

HTH...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is iowait? mynameisjohnny Linux - Newbie 2 07-27-2010 05:23 AM
high iowait in RHES sklam Red Hat 20 12-14-2006 12:35 PM
High loadavg, low CPU & iowait reichhartkg Linux - General 1 07-28-2006 03:44 PM
Iowait ashley75 Linux - General 25 02-11-2006 11:41 PM
CPUs in high IOwait state despite of lack of load kvsraju Linux - Enterprise 3 11-03-2005 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:31 PM.

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