[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F99FEA1.2000700@gmail.com>
Date: Fri, 27 Apr 2012 10:04:17 +0800
From: Shan Wei <shanwei88@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
CC: xemul@...allels.com, NetDev <netdev@...r.kernel.org>
Subject: Re: [PATCH 2/2] ss: implement -M option to get all memory information
Stephen Hemminger said, at 2012/4/26 1:41:
>> " -m, --memory show socket memory usage\n"
>> +" -M, --skmem show socket memory information.\n"
>> +" this option which will replace -m, is valid since Linux 3.3.\n"
>
> Please don't add reference to kernel version.
> Why does this need to be a new option? Maybe just do the right thing
> if present in the netlink response?
Actually, I'm ok for your suggestion that using a existing option(-m) to
export all memory information. But with a new option is better for us.
Maybe some people use latest iproute source with under kernel 3.3.0, some don't.
-m option will take different user experience, specially for UDP socket.
Currently -m option has no effect on UDP socket which i will submit another patch
to export memory information for. new option, fresh experience.
(Exporting out memory information will help us to analysis dropped packets
which recorded in RcvbufErrors and SndbufErrors.)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists