Highlighted
Absent Member.
Absent Member.
1136 views

[archive] 64bit -vs- 32bit runtimes

[Migrated content. Thread originally posted on 10 May 2005]

Has anyone done any comparisons and seen any performance differences between the two runtimes?

Other than compiling to native code, is there any benefit in going to the 64bit operating systems with Acucobol?

Brad
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] 64bit -vs- 32bit runtimes

Brad,

We have run both 32-bit and 64-bit versions of 5.2.1.1 on our HP server.

The 64-bit version was significantly faster, but that was probably because the 32-bit was running in a pa-risc emulator.

One thing to note, however, if you are moving to 64-bit runtimes. Be very careful with USAGE POINTER working storage variables. These must be aligned to 8-byte boundaries otherwise you get a "Memory alignment error".

Despite compiling with the appropriate swithes and using the SYNC keyword, we managed to produce this by having a USAGE POINTER field in an array whose entries were not multiples of 8 bytes.

Apart from that, go for it!

Cheers,

Duncan.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] 64bit -vs- 32bit runtimes

Thanks for the info, especially about the pointers. I hadn't thought of addressing that.

Brad
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.