09-21-2010
Disk performance problem on login
Running CentOS 5.5:
Quote:
Linux mythbox 2.6.18-194.11.3.el5 #1 SMP Mon Aug 30 16:23:24 EDT 2010 i686 i686 i386 GNU/Linux
I've come across a relatively recent problem, where in the last 2 months or so, the root disk goes to 99% utilization for about 20 seconds when a user logs in. This occurs whether a user logs in locally or via ssh. I have tried using lsof to track down the process that is pegging the disk, but no results are returned until the disk thrashing is over, and I don't get any useful results. So I'm looking for a way to proactively narrow down the problem. Here is some more info:
Quote:
# mount
/dev/hdb3 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdb1 on /boot type ext3 (rw)
/dev/hda on /videos type xfs (rw,allocsize=256m,logbufs=4)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
Quote:
# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb3 23412640 18685492 3518660 85% /
/dev/hdb1 101086 48046 47821 51% /boot
/dev/hda 312440128 222170800 90269328 72% /videos
tmpfs 386724 0 386724 0% /dev/shm
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I have some questions regarding disk perfomance, and what I can do to make it just a little (or much :)) more faster.
From what I've heard the first partitions will be faster than the later ones because tracks at the outer edges of a hard drive platter simply moves faster. But I've also read in... (4 Replies)
Discussion started by: J.P
4 Replies
2. AIX
Can I change any AIX System paramerter for speeding the data Disk performance?
Currently it slows with writing operations. (1 Reply)
Discussion started by: gogogo
1 Replies
3. AIX
Hello,
I have a aix 570 system with san disk. I do write test of performance
in a lv with four disk. While the test I run filemon tools for trace
the disk activity. The outputs of filemon are at the en of this message. I
see my lV(logical volume) throughput at 100 meg by second. 2 of 4
disk... (0 Replies)
Discussion started by: Hugues
0 Replies
4. AIX
I'm search for a disk exerciser / load tool like iometer, iozone, diskx for IBM AIX 5.2 and 5.3
Because of a very bad disk performance on several AIX systems, I need to have a tool which is able to generate a disk load on my local and SAN disks.
Does somebody knows a kind of tool which is... (5 Replies)
Discussion started by: funsje
5 Replies
5. Red Hat
I am getting absolutely dreadful iowait stats on my disks when I am trying to install some applications.
I have 2 physical disks on which I have created 2 separate logical volume groups and a logical volume in each. I have dumped some stats as below
My dual core CPU is not being over utilised... (3 Replies)
Discussion started by: jimthompson
3 Replies
6. Solaris
Dear All,
I have a hard disk in solaris on which the write performanc is too slow.
The CPU , RAM memory are absolutely fine.
What might be reason.
Kindly explain.
Rj (9 Replies)
Discussion started by: jegaraman
9 Replies
7. Solaris
What tools/utilities do you use to generate metrics on disk i/o throughput on Solaris. For example, if I want to see the i/o rate of random or sequential r/w. (2 Replies)
Discussion started by: dangral
2 Replies
8. Solaris
Hello,
we have a machine with Solaris Express 11, 2 LSI 9211 8i SAS 2 controllers (multipath to disks), multiport backplane, 16 Seagate Cheetah 15K RPM disks.
Each disk has a sequential performance of 220/230 MB/s and in fact if I do a
dd if=/dev/zero of=/dev/rdsk/<diskID_1> bs=1024k... (1 Reply)
Discussion started by: golemico
1 Replies
9. Linux
I have a freshly installed Oracle Linux 7.1 ( akin to RHEL ) server.
However after installing some Oracle software, I have noticed that my hard disk light is continually on and the system performance is slow.
So I check out SAR and IOSTAT
lab3:/root>iostat
Linux... (2 Replies)
Discussion started by: jimthompson
2 Replies
LEARN ABOUT SUSE
pkgenpack
PKGENPACK(1) [FIXME: manual] PKGENPACK(1)
NAME
pkgenpack - PackageKit Pack Generator
SYNOPSIS
pkgenpack [--help] [--verbose] [--with-package-list] [--output] [--package] [--updates]
DESCRIPTION
This manual page documents briefly the pkgenpack command.
pkgenpack is the command line client for PackageKit for creating service packs.
WHAT IS A SERVICE PACK
?
A service pack is a tarball which contains a set of packages and their dependencies. The user can reduce the dependencies to be packed
using the --with-package-list option. Along with the dependencies, a service pack has a file named metadata.conf which contains the
information about the distribution and creation date of the pack.
CREATING A SERVICE PACK
?
A service pack is created using the command pkgenpack.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
--help
Show summary of options.
--verbose
Show extra debugging information.
--with-package-list
Set the filename of dependencies to be excluded.
Generally, the file list of packages is generated when doing a PackageKit refresh on the target system. If not specified, pkgenpack
uses /var/lib/PackageKit/system.package-list by default.
--output
The directory to put the pack file, or the current directory if omitted.
--package
The package to be put into the ServicePack.
--update
Put all updates available in the ServicePack.
NAMING A SERVICE PACK
The only valid extension for a service pack is ".servicepack".
EXAMPLES
1. Tim is facing problems with his Internet connection at home. He needs a service pack with valgrind and it's dependencies for his system.
He asks James to generate a pack for him. Both know James's system should contain similar packages as Tim's system, as both of them have
installed Fedora 9 two days ago.
James simply runs:
[james@jamesbook:~]$ pkgenpack --output=/media/USB/TimPacks --package=valgrind
This generates a file /media/USB/TimPacks/valgrind-fedora-9-i686.servicepack on the USB key Tim gave to James. Tim can now go home, insert
the USB key and double clicks on the valgrind-fedora-9-i686.servicepack file to be prompted to install these packages.
2. Bill wants to create a service pack named kdegames-fedora-9-i686.servicepack for his new system which does not have an internet
connection. He generates a list of packages on his system using pkcon list-create and copies that list to his USB key. He then gives that
USB to Rishi who has a good internet connectivity. Rishi runs the following command on his system:
[rishi@devils-temple:~]$ pkgenpack --with-package-list=/media/USB/bill.package-list
--output=/home/rishi/Desktop --program=kdegames
This generates a service pack, kdegames-fedora-9-i686.servicepack, on Rishi's Desktop, which can be distributed to Bill and users with
similar requirements.
INSTALLING A SERVICE PACK
Service Packs can be installed using pkcon. For example:
[hacker@tim-lounge:~]$ pkcon install /media/USB/TimPacks/valgrind-fedora-9-i686.servicepack
SEE ALSO
pkmon (1). pkcon(1).
AUTHOR
This manual page was written by Shishir Goel crazyontheedge@gmail.com and Richard Hughes richard@hughsie.com.
COPYRIGHT
Copyright (C) 2008 Shishir Goel
[FIXME: source] 31 July,2008 PKGENPACK(1)