Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
No swap being used

No swap being used

2006-01-12       - By Collins, Kevin [MindWorks]

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Since you see this with cvs checkout, it might be a filesystem issue.
Filesystem performance can be an issue when there are lots of small-ish
files, which is typical of large source-code repositories... Also, you
say the cvs repository is on software RAID, but what about the
filesystem its being check out to? That target fs is potentially getting
hit with a lot of small-block writes... and if its to a user's
NFS-mounted home directory, it really gets fun :)

Kevin

-- --Original Message-- --
From: taroon-list-bounces@(protected)
[mailto:taroon-list-bounces@(protected)] On Behalf Of William Warren
Sent: Thursday, January 12, 2006 10:04 AM
To: Discussion of Red Hat Enterprise Linux 3 (Taroon)
Subject: Re: No swap being used

It depends on kernel tuning but most times the kernel will start dumping

the file cache to free up ram.  Once that is done it will start
swapping.  You pretty much have to chew up all ram before swap stats
getting used.  If you are having high iowaits then your issue is hdd or
IO not swapping.  Check your RAID controller or you may just need to
upgrade to faster disks.

Jeff Macfarland wrote:
> Jussi Silvennoinen wrote:
>>> Sun V20z, RHEL 3u5, i386 kernel, 12GB RAM, 12GB swap
>>>
>>> This box hosts quite a few things, among them serving SunRay's.
We've
>>> been experiencing horrible slowdowns particularly during a cvs
checkout.
>>> Just noticed that NO swap is being used:
>>>
>>> output of `free`:
>>>
>>>              total       used       free   shared    buffers
cached
>>> Mem:      12277844   12036764     241080        0    1333552
7502204
>>> -/+ buffers/cache:    3201008    9076836
>>> Swap:     12578704          0   12578704
>>
>> I guess yer a Solaris-admin? Things work a bit different in the
>> penguin-world.
>>
>> No need to swap = nothing gets swapped. Solaris does it a bit
different.
>> Over 7gb's of your ram is used for block cache so you're far away
from
>> actually needing to swap.
>>
>
> At what point will linux start using swap? Where there is absolutely
no
> free RAM left? Its been my understanding that swap will almost always
be
> used for idle processes regardless of amount of free ram left. I see
the
> output of free range from a few gigs free to 50M and at no point is
> anything swapped. I suppose I am just used to our old solaris boxes
though.
>
>> Instead, look at the output of 'top' when the slowdowns occur.
>
> We have. IO waits perecentage goes quite high and iostat shows 'await'

> time on the order of a few thousand ms for sda. The cvs repo is on a
> software raid partition though.
>
> Thanks for the swap info though.
>

--
My "Foundation" verse:
Isa 54:17  No weapon that is formed against thee shall prosper; and
every tongue that shall rise against thee in judgment thou shalt
condemn. This is the heritage of the servants of the LORD, and their
righteousness is of me, saith the LORD.

-- carpe ductum -- "Grab the tape"
CDTT (Certified Duct Tape Technician)

Linux user #322099
Machines:
206822
256638
276825
http://counter.li.org/

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list



--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list