Jody McIntyre wrote:
Hi Solofo,
On Mon, Jan 08, 2007 at 01:34:13PM +0100, [EMAIL PROTECTED] wrote:
Why is it decimal? (as opposed to hexadecimal, ascii...)
For example, "1234" could be replaced by "DOC ".
Humans are generally more comfortable with decimal numbers, and the goal
of this task is to make things friendlier to humans.
> Messages are of the form: Lustre [ID 1234]: MESSAGE
What is the need for "ID" and the brackets?
Would it be ok to use
Lustre 1234: MESSAGE
instead?
(without brackets, space and "ID")
I think it looks better, and it clearly indicates that 1234 is a message
ID and not something else like a PID or a return code. I think that's
worth 5 characters but of course all of this is up for discussion - does
anyone else have an opinion?
Actually -- yes. If you consider a machine with 100K clients, that is
500K characters fewer into a log, or almost 0.5 MB less text. Given that
Lustre rarely spits out just one error message, this could start to add
up quite quickly.
I'd encourage the fewest possible additions and for keeping the messages
short but readable.
While I'm commenting on this, there was one item I wanted to mention -
using this "interpreter" offline. More and more customers are running
Lustre behind secure walls, where the ability to access this tool needs
to be done 100% offline. I would hope that this either runs as a text
only tool, or if a "web based" tool, running from a provided small http
server (python/perl/ruby/sanskrit) or having the ability to run from a
internal apache server too. Basically -- this should be pretty quick &
easy to install and not require anything too fancy.
That said, I've not heard any concrete plans for this yet -- are there any?
Nic
_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel