<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 07/12/2012 06:36 AM, Kuo Hugo wrote:<br>
</div>
<blockquote
cite="mid:CA++_uhvL4x5NCQh0nq4ATyJRAD2n6vHEifLD+LMYgpYwXq33cA@mail.gmail.com"
type="cite"><br>
Hi all <br>
<br>
I found that the arp_cache in slabinfo on objec-server is growing
up followed with uploaded object numbers.<br>
<br>
Does any code using it ?<br>
</blockquote>
<br>
The code which maps from IP to Ethernet addresses does. That
mapping is what enables sending IP datagrams to their next-hop
destination (which may be the final hop, depending) on an Ethernet
network.<br>
<br>
<blockquote
cite="mid:CA++_uhvL4x5NCQh0nq4ATyJRAD2n6vHEifLD+LMYgpYwXq33cA@mail.gmail.com"
type="cite">2352000 1329606 56% 0.06K 36750 64
147000K kmalloc-64<br>
1566617 1257226 80% 0.21K 42341 37 338728K xfs_ili<br>
1539808 1257748 81% 1.00K 48119 32 1539808K xfs_inode<br>
538432 470882 87% 0.50K 16826 32 269216K kmalloc-512<br>
403116 403004 99% 0.19K 9598 42 76784K dentry<br>
<span style="background-color:rgb(255,0,0)">169250 145824 86%
0.31K 6770 25 54160K arp_cache</span><br>
<br clear="all">
<br>
Does it may cause any performance concern ?<br>
</blockquote>
<br>
I believe that is one of those "it depends" kinds of questions.<br>
<br>
<blockquote
cite="mid:CA++_uhvL4x5NCQh0nq4ATyJRAD2n6vHEifLD+LMYgpYwXq33cA@mail.gmail.com"
type="cite">Btw , how could I flush the memory of arp_cache which
using by XFS(SWIFT)?<br>
</blockquote>
<br>
You can use the classic "arp" command to manipulate the ARP cache.
It can also show you how many entries there are. I suspect that a
web search on "linux flush arp cache" may yield some helpful results
as well.<br>
<br>
rick jones<br>
</body>
</html>