Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Does anyone run test win vs. linux and can share how muchfaster is linux than windows, please?

Re: Does anyone run test win vs. linux and can share how muchfaster is linux than windows, please?

From: Jared Still <jkstill_at_gmail.com>
Date: Tue, 9 Aug 2005 18:03:56 -0700
Message-ID: <bf463805080918033f55fb45@mail.gmail.com>


On 8/4/05, Billy Verreynne (JW) <VerreyB_at_telkom.co.za> wrote:
>
>
> o/s choice decisions that are made based on the notion of actual o/s
> performance is flawed.

On 8/4/05, Billy Verreynne (JW) <VerreyB_at_telkom.co.za> wrote:
>
> o/s choice decisions that are made based on the notion of actual o/s
> performance is flawed.
>

4 CPU Dell 6650 - 2.0 GHZ
3 GIG RAM
Not much happening on the box:

C:\temp> t.pl
Time: 8 wallclock secs ( 7.78 usr + 0.00 sys = 6.00 CPU)

2 CPU Dell 2250 ( I think that is the correct model) - 1.0 GHZ 2 GIG RAM
Not a lot happening on this box either.

17:57-rsysdevdb:dv03:jkstill-14 > perl t.pl Time: 6 wallclock secs ( 5.76 usr + 0.24 sys = 6.00 CPU) [ /home/jkstill/tmp ]

System calls happen *much* faster on linux.

When tested on like hardware, Linux is ~ 100% faster.

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist


--- t.pl
use Benchmark qw(:all);

my ($t1, $t2, $td);
my $iterations = 10**6;

my @x=();

$t1 = new Benchmark;

for (my $i=0;$i<=$iterations;$i++) {
@x=localtime();
}

$t2 = new Benchmark;

$td = timediff($t2,$t1);

print "Time: ", timestr($td), "\n";

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Aug 09 2005 - 20:06:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US