ia_64_bit Performance difference
Hi all,
I have written a block device driver. Driver includes the implementation of write back cache policy. Purpose of the driver is not an issue. The problem I am facing is the considerable difference of performance when I run same driver on 32 and 64 BIT OS. I am testing the driver on 64 Bit Machine and run the same driver on both (32 and 64 Bit) OS. On 32 Bit, IO rate is almost double then on 64 Bit OS. ( i wish it could have been opposite :( )
Is there anything to do with 64-Bit kernel compilation issue. What areas I have to look for?? I have used a few threads. Is there anything to change related to thread priority or attributes?? regards
Nauman
Quoted 8 lines · Nauman Tahir
Hi all,
I have written a block device driver. Driver includes the implementation of write back cache policy. Purpose of the driver is not an issue. The problem I am facing is the considerable difference of performance when I run same driver on 32 and 64 BIT OS. I am testing the driver on 64 Bit Machine and run the same driver on both (32 and 64 Bit) OS. On 32 Bit, IO rate is almost double then on 64 Bit OS. ( i wish it could have been opposite :( )
you forgot to post the URL to your source code...
Quoted 11 lines · Arjan van de Ven
Quoted 8 lines · Nauman Tahir
Hi all,
I have written a block device driver. Driver includes the implementation of write back cache policy. Purpose of the driver is not an issue. The problem I am facing is the considerable difference of performance when I run same driver on 32 and 64 BIT OS. I am testing the driver on 64 Bit Machine and run the same driver on both (32 and 64 Bit) OS. On 32 Bit, IO rate is almost double then on 64 Bit OS. ( i wish it could have been opposite :( )you forgot to post the URL to your source code...
I did NOT FORGET to post the URL of my code as I mentioned I am interested in general
areas of the kernel to look for. Like is there any problem related to 64 bit specific kernel compilation etc...
You should ask for my system configurations. As far as the code is concered there is not any architecture specific issue I guess in that. I have used threads of MD as my generic thread library and have used calculations based on unsigned long.
Kernel Version:
I am using is 2.6.9 and onwards.
Machine configuration is :
HP Prolient DL 145 (Dual Opteron 244 Processors with 14GB RAM)
Regards
Nauman
Quoted 11 lines · Nauman Tahir
Quoted 10 lines · Arjan van de Ven
Quoted 8 lines · Nauman Tahir
Hi all,
I have written a block device driver. Driver includes the implementation of write back cache policy. Purpose of the driver is not an issue. The problem I am facing is the considerable difference of performance when I run same driver on 32 and 64 BIT OS. I am testing the driver on 64 Bit Machine and run the same driver on both (32 and 64 Bit) OS. On 32 Bit, IO rate is almost double then on 64 Bit OS. ( i wish it could have been opposite :( )
Quoted 3 lines
Quoted 1 line
you forgot to post the URL to your source code...
I did NOT FORGET to post the URL of my code
it's gpl.. so what's the problem?
with the code we can see if you made a bug somewhere or did something weird that will kill performance. without it... it's a guessing game that only wastes our time.
I would suggest you find the specific difference in the compiled kernel and/or driver that is causing your driver to run slower and then correct the issue. That should fix your performance problems.
- R.
Quoted 1 line · In article <[email protected]> you…
HP Prolient DL 145 (Dual Opteron 244 Processors with 14GB RAM)
This is BTW not IA64 (as mentioned in subject)
Have you tried to profile it?
Gruss
Bernd
Quoted 23 lines · Nauman Tahir
Quoted 11 lines · Arjan van de Ven
Quoted 8 lines · Nauman Tahir
Hi all,
I have written a block device driver. Driver includes the implementation of write back cache policy. Purpose of the driver is not an issue. The problem I am facing is the considerable difference of performance when I run same driver on 32 and 64 BIT OS. I am testing the driver on 64 Bit Machine and run the same driver on both (32 and 64 Bit) OS. On 32 Bit, IO rate is almost double then on 64 Bit OS. ( i wish it could have been opposite :( )you forgot to post the URL to your source code...
I did NOT FORGET to post the URL of my code as I mentioned I am interested in general
areas of the kernel to look for. Like is there any problem related to 64 bit specific kernel compilation etc...You should ask for my system configurations. As far as the code is concered there is not any architecture specific issue I guess in that. I have used threads of MD as my generic thread library and have used calculations based on unsigned long.
Quoted 5 lines
Kernel Version:
I am using is 2.6.9 and onwards.Machine configuration is :
HP Prolient DL 145 (Dual Opteron 244 Processors with 14GB RAM)
Opteron is not ia_64 it's X86_64. ia_64 is Itanuim.
Gerhard
--
Gerhard Mack
<>< As a computer I find your faith in technology amusing.