kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [autotest] [PATCH 1/6] add ebizzy in autotest
@ 2009-07-08  8:17 sudhir kumar
  2009-07-10 11:29 ` sudhir kumar
  0 siblings, 1 reply; 6+ messages in thread
From: sudhir kumar @ 2009-07-08  8:17 UTC (permalink / raw)
  To: Autotest mailing list; +Cc: kvm-devel, Lucas Meneghel Rodrigues, Martin Bligh

This patch adds the wrapper for ebizzy into autotest. here is the link
to get a copy of the test tarball.
http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809

Please review the patch and provide your comments.


Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>

Index: autotest/client/tests/ebizzy/control
===================================================================
--- /dev/null
+++ autotest/client/tests/ebizzy/control
@@ -0,0 +1,11 @@
+NAME = "ebizzy"
+AUTHOR = "Sudhir Kumar <skumar@linux.vnet.ibm.com>"
+TIME = "MEDIUM, VARIABLE"
+TEST_CATEGORY = "FUNCTIONAL"
+TEST_CLASS = "SYSTEM STRESS"
+TEST_TYPE = "CLIENT"
+DOC = """
+http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
+"""
+
+job.run_test('ebizzy', args = '-vv')
Index: autotest/client/tests/ebizzy/ebizzy.py
===================================================================
--- /dev/null
+++ autotest/client/tests/ebizzy/ebizzy.py
@@ -0,0 +1,32 @@
+import os
+from autotest_lib.client.bin import utils, test
+from autotest_lib.client.common_lib import error
+
+class ebizzy(test.test):
+    version = 3
+
+    def initialize(self):
+        self.job.require_gcc()
+
+
+    # http://sourceforge.net/project/downloading.php?group_id=202378&filename=ebizzy-0.3.tar.gz
+    def setup(self, tarball = 'ebizzy-0.3.tar.gz'):
+        tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
+        utils.extract_tarball_to_dir(tarball, self.srcdir)
+        os.chdir(self.srcdir)
+
+        utils.system('[ -x configure ] && ./configure')
+        utils.system('make')
+
+
+    # Note: default we use always mmap()
+    def run_once(self, args = '', num_chunks = 1000, chunk_size =
512000, seconds = 100, num_threads = 100):
+
+        #TODO: Write small functions which will choose many of the above
+        # variables dynamicaly looking at guest's total resources
+        logfile = os.path.join(self.resultsdir, 'ebizzy.log')
+        args2 = '-m -n %s -P -R -s %s -S %s -t %s' % (num_chunks,
chunk_size, seconds, num_threads)
+        args = args + ' ' + args2
+
+        cmd = os.path.join(self.srcdir, 'ebizzy') + ' ' + args
+        utils.system(cmd)


-- 
Sudhir Kumar

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

* Re: [autotest] [PATCH 1/6] add ebizzy in autotest
  2009-07-08  8:17 [autotest] [PATCH 1/6] add ebizzy in autotest sudhir kumar
@ 2009-07-10 11:29 ` sudhir kumar
  2009-07-11  0:35   ` Martin Bligh
  0 siblings, 1 reply; 6+ messages in thread
From: sudhir kumar @ 2009-07-10 11:29 UTC (permalink / raw)
  To: Autotest mailing list; +Cc: kvm-devel, Lucas Meneghel Rodrigues, Martin Bligh

So is there any plan for adding this patch set in the patch queue? I
would love to incorporate all the comments if any.

On Wed, Jul 8, 2009 at 1:47 PM, sudhir kumar<smalikphy@gmail.com> wrote:
> This patch adds the wrapper for ebizzy into autotest. here is the link
> to get a copy of the test tarball.
> http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
>
> Please review the patch and provide your comments.
>
>
> Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
>
> Index: autotest/client/tests/ebizzy/control
> ===================================================================
> --- /dev/null
> +++ autotest/client/tests/ebizzy/control
> @@ -0,0 +1,11 @@
> +NAME = "ebizzy"
> +AUTHOR = "Sudhir Kumar <skumar@linux.vnet.ibm.com>"
> +TIME = "MEDIUM, VARIABLE"
> +TEST_CATEGORY = "FUNCTIONAL"
> +TEST_CLASS = "SYSTEM STRESS"
> +TEST_TYPE = "CLIENT"
> +DOC = """
> +http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
> +"""
> +
> +job.run_test('ebizzy', args = '-vv')
> Index: autotest/client/tests/ebizzy/ebizzy.py
> ===================================================================
> --- /dev/null
> +++ autotest/client/tests/ebizzy/ebizzy.py
> @@ -0,0 +1,32 @@
> +import os
> +from autotest_lib.client.bin import utils, test
> +from autotest_lib.client.common_lib import error
> +
> +class ebizzy(test.test):
> +    version = 3
> +
> +    def initialize(self):
> +        self.job.require_gcc()
> +
> +
> +    # http://sourceforge.net/project/downloading.php?group_id=202378&filename=ebizzy-0.3.tar.gz
> +    def setup(self, tarball = 'ebizzy-0.3.tar.gz'):
> +        tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
> +        utils.extract_tarball_to_dir(tarball, self.srcdir)
> +        os.chdir(self.srcdir)
> +
> +        utils.system('[ -x configure ] && ./configure')
> +        utils.system('make')
> +
> +
> +    # Note: default we use always mmap()
> +    def run_once(self, args = '', num_chunks = 1000, chunk_size =
> 512000, seconds = 100, num_threads = 100):
> +
> +        #TODO: Write small functions which will choose many of the above
> +        # variables dynamicaly looking at guest's total resources
> +        logfile = os.path.join(self.resultsdir, 'ebizzy.log')
> +        args2 = '-m -n %s -P -R -s %s -S %s -t %s' % (num_chunks,
> chunk_size, seconds, num_threads)
> +        args = args + ' ' + args2
> +
> +        cmd = os.path.join(self.srcdir, 'ebizzy') + ' ' + args
> +        utils.system(cmd)
>
>
> --
> Sudhir Kumar
>



-- 
Sudhir Kumar

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

* Re: [autotest] [PATCH 1/6] add ebizzy in autotest
  2009-07-10 11:29 ` sudhir kumar
@ 2009-07-11  0:35   ` Martin Bligh
  2009-07-12 10:08     ` sudhir kumar
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Bligh @ 2009-07-11  0:35 UTC (permalink / raw)
  To: sudhir kumar; +Cc: Autotest mailing list, kvm-devel, Lucas Meneghel Rodrigues

On Fri, Jul 10, 2009 at 4:29 AM, sudhir kumar<smalikphy@gmail.com> wrote:
> So is there any plan for adding this patch set in the patch queue? I
> would love to incorporate all the comments if any.

Yup, just was behind on patches.

I added it now - the mailer you are using seems to chew patches fairly
thoroughly though ... if it's gmail, it does that ... might want to just
attach as text ?

> On Wed, Jul 8, 2009 at 1:47 PM, sudhir kumar<smalikphy@gmail.com> wrote:
>> This patch adds the wrapper for ebizzy into autotest. here is the link
>> to get a copy of the test tarball.
>> http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
>>
>> Please review the patch and provide your comments.
>>
>>
>> Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
>>
>> Index: autotest/client/tests/ebizzy/control
>> ===================================================================
>> --- /dev/null
>> +++ autotest/client/tests/ebizzy/control
>> @@ -0,0 +1,11 @@
>> +NAME = "ebizzy"
>> +AUTHOR = "Sudhir Kumar <skumar@linux.vnet.ibm.com>"
>> +TIME = "MEDIUM, VARIABLE"
>> +TEST_CATEGORY = "FUNCTIONAL"
>> +TEST_CLASS = "SYSTEM STRESS"
>> +TEST_TYPE = "CLIENT"
>> +DOC = """
>> +http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
>> +"""
>> +
>> +job.run_test('ebizzy', args = '-vv')
>> Index: autotest/client/tests/ebizzy/ebizzy.py
>> ===================================================================
>> --- /dev/null
>> +++ autotest/client/tests/ebizzy/ebizzy.py
>> @@ -0,0 +1,32 @@
>> +import os
>> +from autotest_lib.client.bin import utils, test
>> +from autotest_lib.client.common_lib import error
>> +
>> +class ebizzy(test.test):
>> +    version = 3
>> +
>> +    def initialize(self):
>> +        self.job.require_gcc()
>> +
>> +
>> +    # http://sourceforge.net/project/downloading.php?group_id=202378&filename=ebizzy-0.3.tar.gz
>> +    def setup(self, tarball = 'ebizzy-0.3.tar.gz'):
>> +        tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
>> +        utils.extract_tarball_to_dir(tarball, self.srcdir)
>> +        os.chdir(self.srcdir)
>> +
>> +        utils.system('[ -x configure ] && ./configure')
>> +        utils.system('make')
>> +
>> +
>> +    # Note: default we use always mmap()
>> +    def run_once(self, args = '', num_chunks = 1000, chunk_size =
>> 512000, seconds = 100, num_threads = 100):
>> +
>> +        #TODO: Write small functions which will choose many of the above
>> +        # variables dynamicaly looking at guest's total resources
>> +        logfile = os.path.join(self.resultsdir, 'ebizzy.log')
>> +        args2 = '-m -n %s -P -R -s %s -S %s -t %s' % (num_chunks,
>> chunk_size, seconds, num_threads)
>> +        args = args + ' ' + args2
>> +
>> +        cmd = os.path.join(self.srcdir, 'ebizzy') + ' ' + args
>> +        utils.system(cmd)
>>
>>
>> --
>> Sudhir Kumar
>>
>
>
>
> --
> Sudhir Kumar
>

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

* Re: [autotest] [PATCH 1/6] add ebizzy in autotest
  2009-07-11  0:35   ` Martin Bligh
@ 2009-07-12 10:08     ` sudhir kumar
  2009-07-13  3:20       ` Lucas Meneghel Rodrigues
  0 siblings, 1 reply; 6+ messages in thread
From: sudhir kumar @ 2009-07-12 10:08 UTC (permalink / raw)
  To: Martin Bligh; +Cc: Autotest mailing list, kvm-devel, Lucas Meneghel Rodrigues

On Sat, Jul 11, 2009 at 6:05 AM, Martin Bligh<mbligh@google.com> wrote:
> On Fri, Jul 10, 2009 at 4:29 AM, sudhir kumar<smalikphy@gmail.com> wrote:
>> So is there any plan for adding this patch set in the patch queue? I
>> would love to incorporate all the comments if any.
>
> Yup, just was behind on patches.
>
> I added it now - the mailer you are using seems to chew patches fairly
> thoroughly though ... if it's gmail, it does that ... might want to just
> attach as text ?
Thanks!
Ah! I have been using gmail only in the text mode. I was unable to
subscribe to the list using my imap id(and i use mutt client for that)
though.
Is this problem of gmail known to all? Any workaround ?

>
>> On Wed, Jul 8, 2009 at 1:47 PM, sudhir kumar<smalikphy@gmail.com> wrote:
>>> This patch adds the wrapper for ebizzy into autotest. here is the link
>>> to get a copy of the test tarball.
>>> http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
>>>
>>> Please review the patch and provide your comments.
>>>
>>>
>>> Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
>>>
>>> Index: autotest/client/tests/ebizzy/control
>>> ===================================================================
>>> --- /dev/null
>>> +++ autotest/client/tests/ebizzy/control
>>> @@ -0,0 +1,11 @@
>>> +NAME = "ebizzy"
>>> +AUTHOR = "Sudhir Kumar <skumar@linux.vnet.ibm.com>"
>>> +TIME = "MEDIUM, VARIABLE"
>>> +TEST_CATEGORY = "FUNCTIONAL"
>>> +TEST_CLASS = "SYSTEM STRESS"
>>> +TEST_TYPE = "CLIENT"
>>> +DOC = """
>>> +http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
>>> +"""
>>> +
>>> +job.run_test('ebizzy', args = '-vv')
>>> Index: autotest/client/tests/ebizzy/ebizzy.py
>>> ===================================================================
>>> --- /dev/null
>>> +++ autotest/client/tests/ebizzy/ebizzy.py
>>> @@ -0,0 +1,32 @@
>>> +import os
>>> +from autotest_lib.client.bin import utils, test
>>> +from autotest_lib.client.common_lib import error
>>> +
>>> +class ebizzy(test.test):
>>> +    version = 3
>>> +
>>> +    def initialize(self):
>>> +        self.job.require_gcc()
>>> +
>>> +
>>> +    # http://sourceforge.net/project/downloading.php?group_id=202378&filename=ebizzy-0.3.tar.gz
>>> +    def setup(self, tarball = 'ebizzy-0.3.tar.gz'):
>>> +        tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
>>> +        utils.extract_tarball_to_dir(tarball, self.srcdir)
>>> +        os.chdir(self.srcdir)
>>> +
>>> +        utils.system('[ -x configure ] && ./configure')
>>> +        utils.system('make')
>>> +
>>> +
>>> +    # Note: default we use always mmap()
>>> +    def run_once(self, args = '', num_chunks = 1000, chunk_size =
>>> 512000, seconds = 100, num_threads = 100):
>>> +
>>> +        #TODO: Write small functions which will choose many of the above
>>> +        # variables dynamicaly looking at guest's total resources
>>> +        logfile = os.path.join(self.resultsdir, 'ebizzy.log')
>>> +        args2 = '-m -n %s -P -R -s %s -S %s -t %s' % (num_chunks,
>>> chunk_size, seconds, num_threads)
>>> +        args = args + ' ' + args2
>>> +
>>> +        cmd = os.path.join(self.srcdir, 'ebizzy') + ' ' + args
>>> +        utils.system(cmd)
>>>
>>>
>>> --
>>> Sudhir Kumar
>>>
>>
>>
>>
>> --
>> Sudhir Kumar
>>
>



-- 
Sudhir Kumar

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

* Re: [autotest] [PATCH 1/6] add ebizzy in autotest
  2009-07-12 10:08     ` sudhir kumar
@ 2009-07-13  3:20       ` Lucas Meneghel Rodrigues
  2009-07-13 18:28         ` Martin Bligh
  0 siblings, 1 reply; 6+ messages in thread
From: Lucas Meneghel Rodrigues @ 2009-07-13  3:20 UTC (permalink / raw)
  To: sudhir kumar
  Cc: Martin Bligh, Autotest mailing list, kvm-devel, Lucas Meneghel Rodrigues

On Sun, Jul 12, 2009 at 7:08 AM, sudhir kumar<smalikphy@gmail.com> wrote:
> On Sat, Jul 11, 2009 at 6:05 AM, Martin Bligh<mbligh@google.com> wrote:
>> On Fri, Jul 10, 2009 at 4:29 AM, sudhir kumar<smalikphy@gmail.com> wrote:
>>> So is there any plan for adding this patch set in the patch queue? I
>>> would love to incorporate all the comments if any.
>>
>> Yup, just was behind on patches.
>>
>> I added it now - the mailer you are using seems to chew patches fairly
>> thoroughly though ... if it's gmail, it does that ... might want to just
>> attach as text ?
> Thanks!
> Ah! I have been using gmail only in the text mode. I was unable to
> subscribe to the list using my imap id(and i use mutt client for that)
> though.
> Is this problem of gmail known to all? Any workaround ?

Yes, gmail wraps stuff automagically, I don't know any workarounds for
that. The best workaround I'd suggest is git-format-patch and
git-send-email :)

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

* Re: [autotest] [PATCH 1/6] add ebizzy in autotest
  2009-07-13  3:20       ` Lucas Meneghel Rodrigues
@ 2009-07-13 18:28         ` Martin Bligh
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Bligh @ 2009-07-13 18:28 UTC (permalink / raw)
  To: Lucas Meneghel Rodrigues
  Cc: sudhir kumar, Autotest mailing list, kvm-devel, Lucas Meneghel Rodrigues

On Sun, Jul 12, 2009 at 8:20 PM, Lucas Meneghel Rodrigues<lmr@redhat.com> wrote:
> On Sun, Jul 12, 2009 at 7:08 AM, sudhir kumar<smalikphy@gmail.com> wrote:
>> On Sat, Jul 11, 2009 at 6:05 AM, Martin Bligh<mbligh@google.com> wrote:
>>> On Fri, Jul 10, 2009 at 4:29 AM, sudhir kumar<smalikphy@gmail.com> wrote:
>>>> So is there any plan for adding this patch set in the patch queue? I
>>>> would love to incorporate all the comments if any.
>>>
>>> Yup, just was behind on patches.
>>>
>>> I added it now - the mailer you are using seems to chew patches fairly
>>> thoroughly though ... if it's gmail, it does that ... might want to just
>>> attach as text ?
>> Thanks!
>> Ah! I have been using gmail only in the text mode. I was unable to
>> subscribe to the list using my imap id(and i use mutt client for that)
>> though.
>> Is this problem of gmail known to all? Any workaround ?
>
> Yes, gmail wraps stuff automagically, I don't know any workarounds for
> that. The best workaround I'd suggest is git-format-patch and
> git-send-email :)

Yeah, send from commandline or use attachments - either is fine.

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

end of thread, other threads:[~2009-07-13 18:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-08  8:17 [autotest] [PATCH 1/6] add ebizzy in autotest sudhir kumar
2009-07-10 11:29 ` sudhir kumar
2009-07-11  0:35   ` Martin Bligh
2009-07-12 10:08     ` sudhir kumar
2009-07-13  3:20       ` Lucas Meneghel Rodrigues
2009-07-13 18:28         ` Martin Bligh

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).