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 Paul Krizak

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

I'd think that *using* swap would be a significant source of slowdowns.
 If everything is in memory, then you're in fantastic shape, as far as
I know.  Most of our servers never touch the swap partition.  We're even
considering running without swap or /tmp in a diskless configuration.

Swap is slow, and the RHEL kernel tries to keep as much stuff in RAM as
possible before resorting to paging to disk.  I'd look elsewhere for
your slowdowns.

Paul Krizak                         5900 E. Ben White Blvd. MS 625
Advanced Micro Devices              Austin, TX  78741
Linux/Unix Systems Engineering      Phone: (512) 602-8775
Microprocessor Solutions Sector


Jeff Macfarland 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
>
> `swapon -s`:
>
> Filename                        Type            Size    Used    Priority
> /dev/sda2                       partition       2096472 0       -1
> /dev/sda3                       partition       2096472 0       -2
> /dev/sda5                       partition       2096440 0       -3
> /dev/sda6                       partition       2096440 0       -4
> /dev/sda7                       partition       2096440 0       -5
> /dev/sda8                       partition       2096440 0       -6
>
> `dmesg`:
> ...
> Adding Swap: 2096472k swap-space (priority -1)
> Adding Swap: 2096472k swap-space (priority -2)
> Adding Swap: 2096440k swap-space (priority -3)
> Adding Swap: 2096440k swap-space (priority -4)
> Adding Swap: 2096440k swap-space (priority -5)
> Adding Swap: 2096440k swap-space (priority -6)
> ...
>
> `grep swap /etc/fstab`:
> /dev/sda2     swap     swap     defaults     0 0
> /dev/sda3     swap     swap     defaults     0 0
> /dev/sda5     swap     swap     defaults     0 0
> /dev/sda6     swap     swap     defaults     0 0
> /dev/sda7     swap     swap     defaults     0 0
> /dev/sda8     swap     swap     defaults     0 0
>
> Doing `mkswap /dev/sda2; swapon -s` has no effect.
>
> Is there some secret setting to enable swap?
>

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