All of lore.kernel.org
 help / color / mirror / Atom feed
* [Lustre-devel] Language choice for Lustre tests
@ 2012-10-23 18:36 Nathan Rutman
  2012-10-23 19:39 ` Jacques-Charles Lafoucriere
  2012-10-23 20:05 ` [Lustre-devel] " Kilian Cavalotti
  0 siblings, 2 replies; 28+ messages in thread
From: Nathan Rutman @ 2012-10-23 18:36 UTC (permalink / raw)
  To: lustre-devel

At LAD'12 we proposed a plan for improving the Lustre test framework as an important part of the Lustre quality story.  One of the discussion points there was that the bash language of the current tests was lacking in a variety of areas.  We're moving forward with this work but need community agreement on the best course.  

Given the requirements and language options below, the reasonable choices rapidly diminish to a showdown between perl and python.  I think we're leaning at this point toward perl, based on it's superior speed and inter-version compatibility.  The final piece of the puzzle is the knowledge of existing Lustre test writers, so please chime in.  (But note that "popularity" is the reason we chose bash the first time, and look where that got us...)

	requirements
		1. easy to use
		2. strict structure
		3. universally available
		4. widely maintained
		5. widely understood
		6. good filesystem interface: posix API
		7. fast - replace e.g. createmany with embedded function
		8. operate remote instances
		9. inter-version compatibility
	options
		bash - capable, but too flexible, easy to abuse
		perl - forward compatible, universal, more widely understood, xperior, compact; hard to read later
			posix::open, opendir, lseek, etc.
	parallel::MPI
			~2x faster than python
			more version compatible
		python - very clear structure, swig module for c inclusion; non-standard installations, support
			os.open: all c flags	
			MPI bindings
			tab/space requirements make remote editing more difficult
		cucumber - ruby based, difficult deployment
		java - easy deployment, dev environ, debugger, fast; must compile
		ruby - compact


http://silicainsilico.wordpress.com/2012/03/26/switching-from-perl-to-python-speed/
http://tenser.typepad.com/tenser_said_the_tensor/2006/08/python_vs_perl_.html
http://opennomad.com/content/performance-different-scripting-languages-shell-v-perl-v-python-v-ruby
http://hentenaar.com/serendipity/index.php?/archives/27-Benchmark-PHP-vs.-Python-vs.-Perl-vs.-Ruby.html


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20121023/3ba94dff/attachment.htm>

^ permalink raw reply	[flat|nested] 28+ messages in thread
* [Lustre-devel] Language choice for Lustre tests
@ 2012-10-24 20:02 Gearing, Chris
  2012-10-24 22:05 ` Nathan Rutman
  0 siblings, 1 reply; 28+ messages in thread
From: Gearing, Chris @ 2012-10-24 20:02 UTC (permalink / raw)
  To: lustre-devel

Nathan,

I'm not 100% sure what you are proposing here, your LAD presentation suggested a 'tune-up' of the current test framework rather than a complete re-write. Which of the two are we discussing?

Which ever you are intending to undertake I think it is vital that before decisions are made on things such as languages a clear specification/definition of the activity is created and distributed. I am in fact working with Roman to bring such a document to the working group on the tune-up, making me somewhat confused about what is proposed here.

Going back to your LAD presentation for the tune-up your intention is to write some libraries to better address the requirements of the framework than is possible in bash, but those libraries would be called from the existing bash tests. This illustrates that the language used to develop the framework may not be the same language used for writing the tests, in fact I'm guessing that for both a tune-up and rewrite the requirements placed on the framework writer are different than those place on the test writer and so the languages required might well be different, and in fact if this is a tune-up then surely the tests must continue to be written in bash even if the libraries are in something more applicable, we do not want a single framework with mixed languages (do we?)

So to return to my original question could you please provide some greater depth of insight as to what you are embarking upon, and then we can make more objective input as the language required.

On the complete-rewrite topic, I will post the slides I sent you before LAD to the Whamcloud wiki and then provide a link to this list so that people can share our thoughts. (Network access prevents me doing this immediately)

Regards

Chris
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

^ permalink raw reply	[flat|nested] 28+ messages in thread
* [Lustre-devel] Language choice for Lustre tests
@ 2012-10-25 18:38 Gearing, Chris
  0 siblings, 0 replies; 28+ messages in thread
From: Gearing, Chris @ 2012-10-25 18:38 UTC (permalink / raw)
  To: lustre-devel

Hi,

> On the complete-rewrite topic, I will post the slides I sent you before LAD to the Whamcloud wiki and then provide a link to this list so that people can share our thoughts. (Network access prevents me doing this immediately)

As promised:  http://wiki.whamcloud.com/download/attachments/7634975/new+test+framework.pdf

Regards

Chris

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2012-10-26 11:53 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-23 18:36 [Lustre-devel] Language choice for Lustre tests Nathan Rutman
2012-10-23 19:39 ` Jacques-Charles Lafoucriere
2012-10-23 20:31   ` [Lustre-devel] [lustre-devel] " Bruce Korb
2012-10-24  6:31   ` [Lustre-devel] " Roman Grigoryev
2012-10-24  7:18     ` Kilian Cavalotti
2012-10-24  8:44       ` Roman Grigoryev
2012-10-24 16:30         ` DEGREMONT Aurelien
2012-10-24 20:32           ` [Lustre-devel] [lustre-devel] " Christopher J. Morrone
2012-10-23 20:05 ` [Lustre-devel] " Kilian Cavalotti
  -- strict thread matches above, loose matches on Subject: below --
2012-10-24 20:02 Gearing, Chris
2012-10-24 22:05 ` Nathan Rutman
2012-10-24 22:09   ` Colin Faber
2012-10-25 17:23   ` Brian Behlendorf
2012-10-25 18:04     ` Nathan Rutman
2012-10-25 21:17       ` Prakash Surya
2012-10-25 21:36         ` Nathan Rutman
2012-10-25 21:50           ` Nathan Rutman
2012-10-25 22:13           ` Prakash Surya
2012-10-25 22:19     ` Roman Grigoryev
2012-10-25 18:20   ` Gearing, Chris
2012-10-25 19:24     ` Nathan Rutman
2012-10-25 21:13       ` Christopher J. Morrone
2012-10-25 21:28         ` Nathan Rutman
2012-10-25 21:52           ` Prakash Surya
2012-10-26  6:24             ` Kilian Cavalotti
2012-10-26  8:52               ` Roman Grigoryev
2012-10-26 11:53                 ` Kilian Cavalotti
2012-10-25 18:38 Gearing, Chris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.