xfs
[Top] [All Lists]

RE: XFS leaking memory, cvs closed?

To: "Jarek Luberek" <jarek@xxxxxxxxxx>, "Steve Lord" <lord@xxxxxxx>, <linux-xfs@xxxxxxxxxxx>
Subject: RE: XFS leaking memory, cvs closed?
From: "Juha Saarinen" <juha@xxxxxxxxxxxx>
Date: Thu, 24 May 2001 08:52:53 +1200
Importance: Normal
In-reply-to: <01052315305000.02247@marvin>
Sender: owner-linux-xfs@xxxxxxxxxxx
:: I booted my system this morning. During the day, it did not much
:: else than light mail trafic. At 3 pm I noticed from the unresponsivness
:: of the system that not everything was quite the same as in the
:: morning. Memory usage 200MB, free 56. Quite large numbers for
:: xfs_inode and inode_cache in /proc/slabinfo.

I don't know if this is related, but on a fresh install of XFS 1.0 (2.4.2),
I find that just after reboot, I get ~87-88MBps with hdparm buffer-cache
reads; after the system's been up and running (basically doing very little),
this drops to around 55MBps.

I see a similar drop in performance with Bonnie. The char/sec sequential
output figure drops from ~5,800KBps to 3,500KBps. If I reboot, performance
numbers go back to normal.

So... the question is, is it XFS, is it the Linux VM, the SCSI driver (it's
a Symbios sym53c8xx F/W SCSI), or a combination of all three?

# free
             total       used       free     shared    buffers     cached
Mem:        190288     186264       4024          0      65536      17140
-/+ buffers/cache:     103588      86700
Swap:       525656         32     525624


# cat /proc/slabinfo | grep xfs
xfs_chashlist       2613   2626     16   13   13    1 :  252  126
xfs_ili              108    168    136    6    6    1 :  252  126
xfs_ifork              0      0     56    0    0    1 :  252  126
xfs_efi_item          14     15    260    1    1    1 :  124   62
xfs_efd_item          14     30    260    1    2    1 :  124   62
xfs_buf_item          27     52    148    2    2    1 :  252  126
xfs_dabuf            202    202     16    1    1    1 :  252  126
xfs_da_state          11     11    340    1    1    1 :  124   62
xfs_gap                0      0     16    0    0    1 :  252  126
xfs_trans              2     36    320    1    3    1 :  124   62
xfs_inode          66634  72667    536 9839 10381    1 :  124   62
xfs_btree_cur         56     56    140    2    2    1 :  252  126
xfs_bmap_free_item    202    202     16    1    1    1 :  252  126



blkdev_requests     1536   1560     96   39   39    1 :  252  126
dnotify cache          0      0     20    0    0    1 :  252  126
file lock cache        2     42     92    1    1    1 :  252  126
fasync cache           0      0     16    0    0    1 :  252  126
uid_cache              1    113     32    1    1    1 :  252  126
skbuff_head_cache    161    384    160   16   16    1 :  252  126
sock                  17     24    928    6    6    1 :  124   62
page_buf_t           240    240    160   10   10    1 :  252  126
page_buf_reg_t         6    113     32    1    1    1 :  252  126
avl_object_t           7    113     32    1    1    1 :  252  126
avl_entry_t          226    226     32    2    2    1 :  252  126
inode_cache        67504  69960    480 8745 8745    1 :  124   62
bdev_cache            44    118     64    2    2    1 :  252  126
sigqueue              29     29    132    1    1    1 :  252  126
kiobuf                47    180    128    6    6    1 :  252  126
dentry_cache       41994  59640    128 1988 1988    1 :  252  126
dquot                  0      0    128    0    0    1 :  252  126
filp                 268    280     96    7    7    1 :  252  126
names_cache            2      2   4096    2    2    1 :   60   30
buffer_head        66640  66640     96 1666 1666    1 :  252  126
mm_struct            120    120    160    5    5    1 :  252  126
vm_area_struct       755    826     64   14   14    1 :  252  126
fs_cache             177    177     64    3    3    1 :  252  126
files_cache           63     63    416    7    7    1 :  124   62
signal_act            45     45   1312   15   15    1 :   60   30



Will boot the system up with just an IDE drive to see if the symptoms
persist.


Cheers,

-- Juha


<Prev in Thread] Current Thread [Next in Thread>