Madhu Reddy wrote:

> Hi,
>    When i ran perl script on multi processor
> machine...
> it is taking more time as than on single processor
> machine....
> 
> Let me explain clearly....
> 
> I have big file (.5Gb) it has 8 million records...
> my perl script will read each record and validates..
> Validation includes..checking each record lenghth
> etc....
> 
> When i ran this script on single processor machine
> With 256MB RAM, It took 3 min to process 8 million
> records...
> 
> If ran the same script on Multi processor machine
> (4 CPU's and 3GB RAM), it took 6min....
> 
> Any body have idea why it is taking more time on
> multi processor system ?
> 

there are a lot of reason why your script runs slower in a more powerful 
machine but i am a bit suprise by your finding, how many test have you done 
to compare the result in these 2 machines? one? or have you test at least 
say, 10 times, and average the process time between the 2?

a machine with 4 cpu and 3gb of memory is definitely hard wired to crunch 
number and boost i/o performance. not accounting for machine load, there is 
very little reason your Perl script will run slower on a powerful machine. 
i don't believe i/o is the bottleneck in your 4cpu machine. again, if the 
machine has heavy load then it could be the reason but hardware wise, it 
shouldn't.

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to