f



File System Performance Issue

We have been benchmarking Ubuntu 10.04 vs OpenSuse 11. We notice that
the OpenSuse file system is just faster than Ubuntu.

For example, tar -xf linux-2.6.36-rc3.tar.bz2 runs in 35 seconds on
OpenSuse, and 45 seconds on Ubuntu. Both systems are using ext4 and
bunzip 1.05 and tar 1.22 or 1.23.

Is Ubuntu mounting it's root filesystem with some journalling option
that is slower than OpenSuse? Any other guesses?

-Thanks
-Kitplane01
0
11/22/2010 5:21:30 PM
comp.os.linux.advocacy 123068 articles. 0 followers. Post Follow

7 Replies
405 Views

Similar Articles

[PageSpeed] 40

"Charles Talleyrand" <kitplane01@gmail.com> wrote in message 
news:2097f955-cb60-44b9-832a-a4dea5a2ac85@z19g2000yqb.googlegroups.com...
> We have been benchmarking Ubuntu 10.04 vs OpenSuse 11. We notice that
> the OpenSuse file system is just faster than Ubuntu.
>
> For example, tar -xf linux-2.6.36-rc3.tar.bz2 runs in 35 seconds on
> OpenSuse, and 45 seconds on Ubuntu. Both systems are using ext4 and
> bunzip 1.05 and tar 1.22 or 1.23.
>
> Is Ubuntu mounting it's root filesystem with some journalling option
> that is slower than OpenSuse? Any other guesses?


This may no longer be relevant but a while ago OpenSuse was shipping with 
and using a newer version of gcc than Ubuntu. Several benchmarks (SSL, etc) 
would run faster on Suse because they were built with the newer compiler and 
used the latest version of libc.so



0
Ezekiel
11/22/2010 5:40:03 PM
Charles Talleyrand pulled this Usenet face plant:

> We have been benchmarking Ubuntu 10.04 vs OpenSuse 11. We notice that
> the OpenSuse file system is just faster than Ubuntu.
>
> For example, tar -xf linux-2.6.36-rc3.tar.bz2 runs in 35 seconds on
> OpenSuse, and 45 seconds on Ubuntu. Both systems are using ext4 and
> bunzip 1.05 and tar 1.22 or 1.23.
>
> Is Ubuntu mounting it's root filesystem with some journalling option
> that is slower than OpenSuse? Any other guesses?
>
> -Thanks
> -Kitplane01

Same drive?

noatime set on SuSE?  (mount -v)

-- 
Anthony's Law of the Workshop:
	Any tool when dropped, will roll into the least accessible
	corner of the workshop.
  
Corollary:
	On the way to the corner, any dropped tool will first strike
	your toes.
0
Chris
11/22/2010 5:49:18 PM
Chris Ahlstrom <ahlstromc@xzoozy.com> writes:

> Charles Talleyrand pulled this Usenet face plant:
>
>> We have been benchmarking Ubuntu 10.04 vs OpenSuse 11. We notice that
>> the OpenSuse file system is just faster than Ubuntu.
>>
>> For example, tar -xf linux-2.6.36-rc3.tar.bz2 runs in 35 seconds on
>> OpenSuse, and 45 seconds on Ubuntu. Both systems are using ext4 and
>> bunzip 1.05 and tar 1.22 or 1.23.
>>
>> Is Ubuntu mounting it's root filesystem with some journalling option
>> that is slower than OpenSuse? Any other guesses?
>>
>> -Thanks
>> -Kitplane01
>
> Same drive?
>
> noatime set on SuSE?  (mount -v)


Totally different OSen with different daemons/processes running,
different ram caches etc etc.

It could be one of millions of things.
0
Hadron
11/22/2010 6:37:31 PM
["Followup-To:" header set to comp.os.linux.development.system.]
On Mon, 2010-11-22, Hadron wrote:
> Chris Ahlstrom <ahlstromc@xzoozy.com> writes:
>
>> Charles Talleyrand pulled this Usenet face plant:
>>
>>> We have been benchmarking Ubuntu 10.04 vs OpenSuse 11. We notice that
>>> the OpenSuse file system is just faster than Ubuntu.
>>>
>>> For example, tar -xf linux-2.6.36-rc3.tar.bz2 runs in 35 seconds on
>>> OpenSuse, and 45 seconds on Ubuntu. Both systems are using ext4 and
>>> bunzip 1.05 and tar 1.22 or 1.23.
>>>
>>> Is Ubuntu mounting it's root filesystem with some journalling option
>>> that is slower than OpenSuse? Any other guesses?
>>>
>>> -Thanks
>>> -Kitplane01
>>
>> Same drive?
>>
>> noatime set on SuSE?  (mount -v)
>
>
> Totally different OSen with different daemons/processes running,
> different ram caches etc etc.
>
> It could be one of millions of things.

It *could*, but a proper investigation /can/ tell what the difference
is. Just measuring wall clock time and deciding that "the OpenSuse
file system is just faster" is way too simplistic.

Try to at least look at the output from time(1), vmstat and mpstat.

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .  .
\X/     snipabacken.se>   O  o   .
0
Jorgen
11/22/2010 7:40:56 PM
Jorgen Grahn <grahn+nntp@snipabacken.se> writes:

> ["Followup-To:" header set to comp.os.linux.development.system.]
> On Mon, 2010-11-22, Hadron wrote:
>> Chris Ahlstrom <ahlstromc@xzoozy.com> writes:
>>
>>> Charles Talleyrand pulled this Usenet face plant:
>>>
>>>> We have been benchmarking Ubuntu 10.04 vs OpenSuse 11. We notice that
>>>> the OpenSuse file system is just faster than Ubuntu.
>>>>
>>>> For example, tar -xf linux-2.6.36-rc3.tar.bz2 runs in 35 seconds on
>>>> OpenSuse, and 45 seconds on Ubuntu. Both systems are using ext4 and
>>>> bunzip 1.05 and tar 1.22 or 1.23.
>>>>
>>>> Is Ubuntu mounting it's root filesystem with some journalling option
>>>> that is slower than OpenSuse? Any other guesses?
>>>>
>>>> -Thanks
>>>> -Kitplane01
>>>
>>> Same drive?
>>>
>>> noatime set on SuSE?  (mount -v)
>>
>>
>> Totally different OSen with different daemons/processes running,
>> different ram caches etc etc.
>>
>> It could be one of millions of things.
>
> It *could*, but a proper investigation /can/ tell what the difference
> is. Just measuring wall clock time and deciding that "the OpenSuse
> file system is just faster" is way too simplistic.

Thats what I said above. There are too many unknowns.

>
> Try to at least look at the output from time(1), vmstat and mpstat.

Any timings are totally and utterly useless unless we know the operating
framework.

There can be no "proper investigation" without ensuring similar
operating conditions. It's not rocket science.

0
Hadron
11/22/2010 11:34:10 PM
Hadron<hadronquark@gmail.com> writes:

> Jorgen Grahn <grahn+nntp@snipabacken.se> writes:
>
>> ["Followup-To:" header set to comp.os.linux.development.system.]
>> On Mon, 2010-11-22, Hadron wrote:
>>> Chris Ahlstrom <ahlstromc@xzoozy.com> writes:
>>>
>>>> Charles Talleyrand pulled this Usenet face plant:
>>>>
>>>>> We have been benchmarking Ubuntu 10.04 vs OpenSuse 11. We notice that
>>>>> the OpenSuse file system is just faster than Ubuntu.
>>>>>
>>>>> For example, tar -xf linux-2.6.36-rc3.tar.bz2 runs in 35 seconds on
>>>>> OpenSuse, and 45 seconds on Ubuntu. Both systems are using ext4 and
>>>>> bunzip 1.05 and tar 1.22 or 1.23.
>>>>>
>>>>> Is Ubuntu mounting it's root filesystem with some journalling option
>>>>> that is slower than OpenSuse? Any other guesses?
>>>>>
>>>>> -Thanks
>>>>> -Kitplane01
>>>>
>>>> Same drive?
>>>>
>>>> noatime set on SuSE?  (mount -v)
>>>
>>>
>>> Totally different OSen with different daemons/processes running,
>>> different ram caches etc etc.
>>>
>>> It could be one of millions of things.
>>
>> It *could*, but a proper investigation /can/ tell what the difference
>> is. Just measuring wall clock time and deciding that "the OpenSuse
>> file system is just faster" is way too simplistic.
>
> Thats what I said above. There are too many unknowns.
>
>>
>> Try to at least look at the output from time(1), vmstat and mpstat.
>
> Any timings are totally and utterly useless unless we know the operating
> framework.
>
> There can be no "proper investigation" without ensuring similar
> operating conditions. It's not rocket science.

Except that in this case the whole question is to determine which of the
variables are the relevant ones.  People have made a couple of
suggestions that are up above; we can safely say, though, that it's
*extremely* unlikely that the different daemons running would make that
sort of difference.

Try using tune2fs -l to see what the filesystem parameters are.
-- 
As we enjoy great advantages from the inventions of others, we should
be glad of an opportunity to serve others by any invention of ours;
and this we should do freely and generously. (Benjamin Franklin)
0
Joe
11/23/2010 1:03:54 AM
["Followup-To:" header set to comp.os.linux.development.system.]
On Mon, 2010-11-22, Hadron wrote:
> Jorgen Grahn <grahn+nntp@snipabacken.se> writes:
>
>> ["Followup-To:" header set to comp.os.linux.development.system.]
>> On Mon, 2010-11-22, Hadron wrote:
>>> Chris Ahlstrom <ahlstromc@xzoozy.com> writes:
>>>
>>>> Charles Talleyrand pulled this Usenet face plant:
>>>>
>>>>> We have been benchmarking Ubuntu 10.04 vs OpenSuse 11. We notice that
>>>>> the OpenSuse file system is just faster than Ubuntu.
>>>>>
>>>>> For example, tar -xf linux-2.6.36-rc3.tar.bz2 runs in 35 seconds on
>>>>> OpenSuse, and 45 seconds on Ubuntu. Both systems are using ext4 and
>>>>> bunzip 1.05 and tar 1.22 or 1.23.
>>>>>
>>>>> Is Ubuntu mounting it's root filesystem with some journalling option
>>>>> that is slower than OpenSuse? Any other guesses?
>>>>>
>>>>> -Thanks
>>>>> -Kitplane01
>>>>
>>>> Same drive?
>>>>
>>>> noatime set on SuSE?  (mount -v)
>>>
>>>
>>> Totally different OSen with different daemons/processes running,
>>> different ram caches etc etc.
>>>
>>> It could be one of millions of things.
>>
>> It *could*, but a proper investigation /can/ tell what the difference
>> is. Just measuring wall clock time and deciding that "the OpenSuse
>> file system is just faster" is way too simplistic.
>
> Thats what I said above. There are too many unknowns.

But that's the /opposite/ of what I write!

Unless you mean "there's not enough information in the posting",
rather than "it's a mystery which noone can ever explain". I agree
with the former of course, but not with the latter.

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .  .
\X/     snipabacken.se>   O  o   .
0
Jorgen
11/23/2010 12:42:13 PM
Reply: