Author Topic: Benchmark program(s)  (Read 2766 times)

0 Members and 1 Guest are viewing this topic.

John

  • Hero Member
  • *****
  • Posts: 3607
Benchmark program(s)
« on: November 02, 2010, 01:56:24 AM »
Charles,

Do you have a benchmark related program I could run on Windows and Linux (using the CrossOver WinAPI) ?

Your 4 port OpenGL demo runs great under Ubuntu Linux Crossover. (Wine)

John

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 4205
    • Oxygen Basic
Re: Benchmark program(s)
« Reply #1 on: November 02, 2010, 06:03:49 PM »
Hi John,

I'm delighted Oxygen works with Ubuntu crossover. I don't have a good benchmark test yet but I'm putting some performance metrics into the OpenGl Edit control. It uses almost no CPU except when the screen changes then it gets very busy and uses at least one core to capacity. Each frame takes about 14-17 ms to process.

I would not expect to see a major difference under Ubuntu - give or take 10%. It uses very basic API calls.

Charles

John

  • Hero Member
  • *****
  • Posts: 3607
Re: Benchmark program(s)
« Reply #2 on: November 02, 2010, 08:59:03 PM »
Quote
I would not expect to see a major difference under Ubuntu - give or take 10%. It uses very basic API calls.

I just ran some benchmark tests with ScriptBasic between Linux, Crossover and Windows.

http://www.allbasic.info/forum/index.php?topic=33.msg425#msg425

I don't see Crossover taking much of a performance hit using it's version of the Windows API under Linux. Crossover even supports COM under Linux. (MS Office runs on Crossover if that says anything)


Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 4205
    • Oxygen Basic
Re: Benchmark program(s)
« Reply #3 on: November 03, 2010, 04:42:39 AM »

I see Crossover is based on WINE. An extraordinary amount of work must have gone into that project - essentially rewriting the entire MS Windows API.

A small performance hit is inevitable where Windows applications use libraries like Opengl. The app cannot use the Linux version of Opengl directly because the calling convention under Linux is CDECL, not STDCALL. All the calls would have to go through wrapper functions to clean up the stack before returning.

Charles

John

  • Hero Member
  • *****
  • Posts: 3607
Re: Benchmark program(s)
« Reply #4 on: November 03, 2010, 08:22:54 AM »
Quote
I see Crossover is based on WINE. An extraordinary amount of work must have gone into that project - essentially rewriting the entire MS Windows API.

The Wine/Crossover project has been going on for many years and I feel it is a viable alternative to Windows native for many of the applications I use. I have been a registered advocate and tester for Crossover for sometime and the folks there are a bright group.

Crossover/Wine is not an emulator but an embeddable Windows API. (Linux & Mac currently supported)
« Last Edit: November 03, 2010, 01:15:49 PM by JRS »

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 4205
    • Oxygen Basic
Re: Benchmark program(s)
« Reply #5 on: November 04, 2010, 10:18:25 AM »

Yes they make that very clear. The WINE acronym is misleading - perhaps it was originally conceived as an emulator in the sense that it was emulating windows rather than the more conventional use of the term: one processor emulating another.

Charles

John

  • Hero Member
  • *****
  • Posts: 3607
Re: Benchmark program(s)
« Reply #6 on: November 04, 2010, 04:52:28 PM »
Quote
The name Wine initially was an acronym for WINdows Emulator. Later on it was derived from the recursive acronym Wine Is Not an Emulator.

Wine implements the Windows API entirely in user space, rather than as a kernel module. Services normally provided by the kernel in Windows are provided by a daemon known as the wineserver. The wineserver implements basic Windows functionality, as well as integration with the X Window System, and translation of signals into native Windows exceptions.




kryton9

  • Hero Member
  • *****
  • Posts: 721
Re: Benchmark program(s)
« Reply #7 on: November 08, 2010, 06:27:21 PM »
Exciting to read the goings on here. With cheap tablets coming out, being able to throw a linux on there and use something like wine and o2 is exciting to read about!