From: Randy Dunlap <rdunlap@xenotime.net>
To: balbir@linux.vnet.ibm.com
Cc: Peter Zijlstra <peterz@infradead.org>,
Paul Menage <menage@google.com>,
Linux Containers <containers@lists.osdl.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Pavel Emelianov <xemul@openvz.org>
Subject: Re: [patch -rss] Make RSS accounting display more user friendly
Date: Tue, 10 Jul 2007 08:29:04 -0700 [thread overview]
Message-ID: <20070710082904.b0faaddd.rdunlap@xenotime.net> (raw)
In-Reply-To: <46930EAF.6030104@linux.vnet.ibm.com>
On Mon, 09 Jul 2007 21:44:31 -0700 Balbir Singh wrote:
> Peter Zijlstra wrote:
> > On Sun, 2028-02-27 at 02:39 -0500, Balbir Singh wrote:
> >
> >> I am not a CLUI expert, but rounding off bytes will something that
> >> the administrators will probably complain about. Since we manage
> >> the controller memory in pages, it might be the easiest unit to use.
> >> The output is totally different matter.
> >>
> >> Having said that, I am not opposed to your suggestion, I'll see if
> >> I can find good CLUI guidelines.
> >
> > Pages are generally considered a bad unit for user-space exposed
> > parameters because a page can have a wide spectrum of sizes on some
> > machines.
> >
>
> Exactly!
>
> > The typical unit used in its stead is KiB. Although I could imagine MiB
> > being more useful in this case :-)
> >
>
> I think a routine that can handle either KiB or MiB would probably be the best
>
> > Perhaps a new proc parser that takes postfix [KMG] units would be
> > handy..
> >
>
> Hmm.. yes.. a library routine would be nice!
you mean something like lib/cmdline.c::memparse() ?
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next prev parent reply other threads:[~2007-07-10 15:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-20 15:46 [patch -rss] Make RSS accounting display more user friendly Balbir Singh
2007-06-21 19:17 ` Paul Menage
2007-06-22 2:09 ` Pavel Emelianov
2007-06-22 15:39 ` Paul Menage
2007-06-23 3:48 ` Balbir Singh
2007-06-25 7:19 ` Paul Menage
2007-06-26 12:39 ` Kirill Korotaev
2007-06-26 12:54 ` Balbir Singh
2007-06-26 14:05 ` Kirill Korotaev
2028-02-27 7:39 ` Balbir Singh
2007-07-09 11:38 ` Peter Zijlstra
2007-07-10 4:44 ` Balbir Singh
2007-07-10 15:29 ` Randy Dunlap [this message]
2007-07-10 15:40 ` Balbir Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070710082904.b0faaddd.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=balbir@linux.vnet.ibm.com \
--cc=containers@lists.osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=menage@google.com \
--cc=peterz@infradead.org \
--cc=xemul@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).