On Wednesday, April 26, 2006, at 01:17PM, James Milne <[EMAIL PROTECTED]> wrote: >Hi all, > >I have a little app I've written that I've compiled for Mach-O and Linux using >RB 2006r2. >It does some relatively unsophisticated image processing. > >For testing, I run the app over a 640x480 picture. Curiously, the Linux >version of the app running on a Dual Xeon 1.7Ghz seems to run a _lot_ slower >than the same app on my 1Ghz Powerbook G4. > >My code runs in a thread. The function in my thread has background tasks >disabled, and yields after every 10th line of the image. > >Has anyone observed poor performance with regard to threads on Linux? > >I'm running on CentOS 4.2 (final), which is equivalent to RedHat Enterprise >Linux 4.
For reference, operating on an image 612x313, my Powerbook G4 1Ghz takes 3.42s, and the Xeon 1.7Ghz running _exactly_ the same code compiled for Linux takes 7.3s. That's over twice as slow. Could be that the implementation of RGBSurface is a lot slower on Linux though, I guess... Or perhaps the code generated for int->float and float->int conversions isn't so hot. -- Kind regards, James Milne -- James Milne _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
