Hello,
On Thu, 20 Jun 2013, Aleksey Chudov wrote:
> Hi,
>
> I'm trying to calculate how much memory will be needed to synchronize the
> persistent templates across the entire cluster. How much memory consumes one
> persistent template?
Just like every connection, may be you can find
such message in dmesg/logs when IPVS starts:
IP_VS_DBG(0, "Each connection entry needs %Zd bytes at least\n",
sizeof(struct ip_vs_conn));
You can also check 'slabtop' (cat /proc/slabinfo) on
load, look for ip_vs_conn. On my x86-32 platform it shows 240 bytes.
On x86-64 it should be more.
Regards
--
Julian Anastasov <ja@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|