Page 1 of 2
CumuluxMX 64bit
Posted: Wed 28 Dec 2022 4:29 pm
by joseil
Hi
Are there any plans to compile CumuluxMX as a true 64bit application. now most Operating systems are 64bit.
I recently moved CumulusMX to a new virtual envirioment (Proxmox) with a modern CPU and noticed a lot of x86/split lock detection warnings in my syslog courced by CumulusMX. For now i disabled x86/split lock detection to get rid of the warnings but that is not the way to go i beleef. So i'm hoping for a 64 bit version of CumuluxMX or that the application is updated so that x86/split lock detection is not tiggered by the CPU (Intel i7) of in my virtual envirioment.
greatings Jos
Re: CumuluxMX 64bit
Posted: Wed 28 Dec 2022 5:59 pm
by mcrossley
Not currently, CMX is compiled as "Any CPU - prefer 32 bit". The constraint lies in the SQLite libraries which must be specified as either 32 or 64 bit. I have looked at the SQLite implementation in the past and come away thoroughly confused, even if you use the newer NuGet packages they all seem to rely on external pre-compiled core DLLs. I'll have another look one day and see if I can produce a true "any CPU" solution.
Re: CumuluxMX 64bit
Posted: Thu 29 Dec 2022 8:32 pm
by joseil
Hi Mark,
Thanks for the reply, hopefully in the (near) future 64bit
greatings Jos
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 9:49 am
by joseil
Hi Mark,
I noticed that 64 bit is now supported

but after the upgrade from Cumulus MX v.3.23.1 build 3221 to Cumulus MX v.3.24.1 build 3234
Cumulus MX is still running as 32bit i tried it on the operating systems below
Windows 10 Pro 22H2
Windows Server 2022 Datacenter 21H2
The 32 bit sqlite3.dll is copied over to the root directory,Is there any configuration needed to run Cumulus MX as x64?
Or should it be detected automaticly?
Kind regards
Jos EIllebrecht
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 10:52 am
by water01
The 32 bit sqlite3.dll is copied over to the root directory,Is there any configuration needed to run Cumulus MX as x64?
I am afraid this is not true in the latest build, sqlite3.dll does not appear in the main release directory and can be deleted from an existing directory if you are copying over it.
There are two new directories in this release (x64 and X86) that have to be copied over (see the release notes) and the appropriate version is loaded from these libraries.
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 12:09 pm
by joseil
Hi David,
my observation:
when CMX starts it will copy the appropiate sqllite3.dll form the x64 or X86 directories to the root directory, see post 11136 from Mark.
So when CMX starts up i presume it does a OS check, but in my case it fails to detect a x64 operating system.
Jos
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 12:21 pm
by broadstairs
Might I suggest you check your CMX log file as on startup it shows if it is running 64bit. Below is an extract from mine which I know is Linux but should still show the process in Windows.
Code: Select all
2023-03-11 10:05:51.348 ========================== Cumulus MX starting ==========================
2023-03-11 10:05:51.354 Command line: /home/stuart/CumulusMX/CumulusMX.exe
2023-03-11 10:05:51.354 Cumulus MX v.3.24.1 build 3234
2023-03-11 10:05:51.369 Mono version: 6.8.0.105 (tarball Sat Jun 6 02:05:47 UTC 2020)
2023-03-11 10:05:51.376 Platform: Unix
2023-03-11 10:05:51.378 OS version: Unix 5.14.21.150400
2023-03-11 10:05:51.380 Current culture: English (United Kingdom) [en-GB]
2023-03-11 10:05:51.380 Running as a 64bit process
At least we will know what CMX thinks it is doing!
Stuart
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 12:51 pm
by joseil
It's running as 32 bit, apparently CMX does not detect the OS correctly on windows
Windows 10:
Systemtype: 64-bit operating system, x64-based processor
Edition: Windows 10 Pro
Version: 22H2
Code: Select all
2023-03-13 13:32:03.609 ========================== Cumulus MX starting ==========================
2023-03-13 13:32:03.609 Command line: "C:\CumulusMX\CumulusMX.exe"
2023-03-13 13:32:03.609 Cumulus MX v.3.24.1 build 3234
2023-03-13 13:32:03.609 Platform: Win32NT
2023-03-13 13:32:03.609 OS version: Microsoft Windows NT 6.2.9200.0
2023-03-13 13:32:03.609 Current culture: English (Netherlands) [en-NL]
2023-03-13 13:32:03.609 Running as a 32bit process
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 1:04 pm
by broadstairs
Thanks, this is one for Mark who I understand is away until tomorrow.
Stuart
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 2:32 pm
by joseil
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 2:33 pm
by M1DUL
Hello Joseil, & all,
Mine also comes up saying 32bit when it should be 64bit.
My Computer details are,
System type: 64-bit operating system, x64-based processor
Edition: Windows 11 Pro
Version: 22H2
OS Build: 22621.1344
Windows error.png
I have also noticed that this Error: Unable to access the System Uptime performance counter. System uptime will not be available
Comes up in MXdiags what could be causing this?
Kindest Regards
Mike
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 2:43 pm
by Mapantz
I deleted the sqlite file in the root directory when I upgraded, and copied both x86 and x64 across, but mine also runs as 32 bit.
Re: CumuluxMX 64bit
Posted: Mon 13 Mar 2023 3:19 pm
by broadstairs
As a test I just updated my unused CMX install on Windows 7 64-bit and it starts as 32-bit on there as well. Does look like maybe however Mark is trying to detect 64-bit on Windows is not reliable but works fine on Linux. And yes the two extra directories were copied over (x64 and x86 as they did not exist on this old version).
Stuart
Re: CumuluxMX 64bit
Posted: Tue 14 Mar 2023 10:48 am
by mcrossley
OK, lets clear up a few things...
CMX does not test the OS for bitness - it doesn't care about that.
CMX does test if it is running as a 32 or 64 bit app.
CMX cannot control how it is launched, vis-a-vis 32 or 64 bit, which is down to the .Net Framework.
It does run as a 64 bit app on my Windows 11 machine...
Code: Select all
2023-03-10 22:55:08.939 ========================== Cumulus MX starting ==========================
2023-03-10 22:55:08.939 Command line: "C:\Code\CumulusMX\CumulusMX\bin\Debug\CumulusMX.exe" -port 8998 -lang en_GB
2023-03-10 22:55:08.939 Cumulus MX v.3.24.1 build 3234
2023-03-10 22:55:08.939 Platform: Win32NT
2023-03-10 22:55:08.939 OS version: Microsoft Windows NT 6.2.9200.0
2023-03-10 22:55:08.955 Current culture: English (United Kingdom) [en-GB]
2023-03-10 22:55:08.955 Running as a 64bit process
So, the question is why not on some?
Two quick checks on your systems if you would....
What is the value of your registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Enable64Bit
And what is the output of the command: %windir%\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe query
Re: CumuluxMX 64bit
Posted: Tue 14 Mar 2023 10:58 am
by broadstairs
On my Windows 7 system see attached screenshots.
Stuart
ldrquery.png
regedit.png