LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2012, 01:19 PM   #1
premkumar.st
LQ Newbie
 
Registered: Jul 2011
Location: India
Posts: 13

Rep: Reputation: Disabled
filesystem I/O is very slow


At the time we did the rpm installation we encountered on the /xyz file system transfer rates of about 600-700 KB/sec, which is very poor.

The installation was very slow, especially when using the specific file system.
One of the last steps in the installation is a reboot of the machine, this is to check if the services start in the proper order.
The reboot took a very long time, but after that the server reacted much better.
The observed transfer rates are now in the order of magnitude of 50 MB/sec. Not super, but acceptable.

Although, the problem at this moment no longer exist, I would like to know what could have caused it.
The expected I/O load on the specific file system is high and its performance will directly influence the user experience.
Id like to prevent the situation that we had during the installation.

Could you please help me on this how to check what caused this issue.

Thanks,
Prem
 
Old 03-20-2012, 02:37 PM   #2
Twilight0
LQ Newbie
 
Registered: Mar 2012
Posts: 3

Rep: Reputation: Disabled
This could be due to various reasons... aged disk, fragmentation, etc.
 
Old 03-20-2012, 02:41 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Unfortunately the /xyz system is unknown to any of us but yourself; it could
be an nfs mount on a 10MBit link; it could be a USB device ... we wouldn't know.

More detail => better responses.



Cheers,
Tink
 
Old 03-20-2012, 03:17 PM   #4
premkumar.st
LQ Newbie
 
Registered: Jul 2011
Location: India
Posts: 13

Original Poster
Rep: Reputation: Disabled
yes, I even thought like that but after reboot it seems fine and how to confirm the correct cause of this issue.. Thanks.
 
Old 03-20-2012, 03:18 PM   #5
premkumar.st
LQ Newbie
 
Registered: Jul 2011
Location: India
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hi Tink,

Its a local filesystem /app/data with 20GB size
 
Old 03-20-2012, 03:25 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
For starters:
  • What type of filesystem (ext2, xfs, btrfs, fat)?
  • What type of device (USB drive, SATA drive), and what brand / RPM is it advertised as?
  • What OS / version?
  • How are you benchmarking exactly?
 
Old 03-20-2012, 03:43 PM   #7
premkumar.st
LQ Newbie
 
Registered: Jul 2011
Location: India
Posts: 13

Original Poster
Rep: Reputation: Disabled
•What type of filesystem (ext2, xfs, btrfs, fat)?
ext3
•What type of device (USB drive, SATA drive), and what brand / RPM is it advertised as?
SCSI disks
•What OS / version?
RHEL 5
•How are you benchmarking exactly?
sorry we installing through yum tool and will access the /app/data filesystem for file copies and it noticed.
 
Old 03-20-2012, 03:52 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I've never seen yum echo out disk write speeds ...
 
Old 03-20-2012, 04:03 PM   #9
premkumar.st
LQ Newbie
 
Registered: Jul 2011
Location: India
Posts: 13

Original Poster
Rep: Reputation: Disabled
# yum install postgresql.x86_64
Resolving Dependencies
Install 2 Package(s)
Is this ok [y/N]: y

Package(s) data still to download: 3.0 M
(1/2): postgresql-9.0.4-5.fc15.x86_64.rpm | 2.8 MB 00:11
(2/2): postgresql-libs-9.0.4-5.fc15.x86_64.rpm | 203 kB 00:00
------------------------------------------------------------------
Total 241 kB/s | 3.0 MB 00:12

Running Transaction
Installing : postgresql-libs-9.0.4-5.fc15.x86_64 1/2
Installing : postgresql-9.0.4-5.fc15.x86_64 2/2


Mentioned Package is just for an example...
 
Old 03-20-2012, 04:25 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
# yum install postgresql.x86_64
Resolving Dependencies
Install 2 Package(s)
Is this ok [y/N]: y

Package(s) data still to download: 3.0 M
(1/2): postgresql-9.0.4-5.fc15.x86_64.rpm | 2.8 MB 00:11
(2/2): postgresql-libs-9.0.4-5.fc15.x86_64.rpm | 203 kB 00:00
------------------------------------------------------------------
Total 241 kB/s | 3.0 MB 00:12

Running Transaction
Installing : postgresql-libs-9.0.4-5.fc15.x86_64 1/2
Installing : postgresql-9.0.4-5.fc15.x86_64 2/2
Yah

that's your DOWNLOAD speed from a server, not your write-speed to disk.



Cheers,
Tink
 
Old 03-20-2012, 05:06 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,542

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Like the man said ...
Quote:
Originally Posted by Tinkster View Post
More detail => better responses.
 
Old 03-20-2012, 05:15 PM   #12
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,464

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by Tinkster View Post
Yah

that's your DOWNLOAD speed from a server, not your write-speed to disk.



Cheers,
Tink
And it got faster when you re-ran the code because it had already cached the files locally.
 
Old 03-20-2012, 05:42 PM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,357

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Also, this qn
Quote:
what brand / RPM is it advertised as?
may tell us something

Is /app/data a whole disk or just one partition on a multi-partition disk. ? If the latter, do the other partitions show same speed?

You may want to use this tool to get more info http://linux.die.net/man/8/smartctl
 
  


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
Confusing USB Filesystem Problem (Can't Wipe Ext3 Filesystem) dkaplowitz Linux - Hardware 3 04-14-2007 06:30 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
Best filesystem for a slow machine. failure_man Slackware 3 11-26-2004 10:05 AM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM


All times are GMT -5. The time now is 04:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration