LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-24-2021, 03:38 PM   #1
degoor
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Rep: Reputation: 0
Best Linux distro & version for remote desktop PC running 24/7 financial platform under wine


I have a remote PC station that is a refurbished machine with the follow specs:

Lenovo ThinkCentre A62, Processor: AMD Athlon 64 X2, 5200B 2700Mhz 1MB, RAM 8192MB DDR2, 250 GB SATA, can boot from USB, but has no CD/DVD device.

I bought that because I needed to setup a remote pc station running 24/7 a Windows based financial platform. I don't like any Windows OS that is not daily restarted so I decided I should run that Windows software with wine on Linux.

I need to run a few instances of that platform and one of its current functions is to mine price data, recording every minute the prices of about 150 major stocks.

I have some experience using Linux workstations (mainly Ubuntu) so I set up that remote PC with Linux Mint 20 "Ulyana" - Cinnamon (64-bit) which is based on Ubuntu 20.04 LTS.

The remote PC has been running for 2 months now and I started to notice a few problems. It turns out that a Linux desktop system is not so stable as I expected.

I began running under wine 2 instances of the financial platform and the CPU usage was on average 80-85% which seemed to me a lot given the fact that this platform is really light on Windows {should have been written in about 2005 or even before that}.

When I started the price mining in a third instance without restarting the OS, the CPU load went to over 90% and in 2-3 hours after I left it to run on its own, the PC crashed. When I restarted the system, the 3 instances loaded the CPU to about 80-85%.

Apart from the platform instances I need to have an open web browser running a single web page which I use to login into my internet account. The PC also runs a script that attempts to reconnect the internet on its own.

I think I made a mistake using a typical desktop Linux distribution that is not really intended to be light on somewhat older hardware. I might have been better off installing some Ubuntu server version {or another Linux server} and adding some lightweight window manager / desktop environment on top of it.

What would you have done if you were in my shoes?
 
Old 02-24-2021, 07:36 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,330
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
Debian is about as stable as stable gets. I normally would have also recommended CentOS, but Red Hat has decided to start mucking with it.
 
1 members found this post helpful.
Old 02-24-2021, 07:43 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I'd focus on security distro. Might even go with OpenBSD or a commercial linux.
 
1 members found this post helpful.
Old 02-25-2021, 03:19 AM   #4
degoor
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by frankbell View Post
Debian is about as stable as stable gets. I normally would have also recommended CentOS, but Red Hat has decided to start mucking with it.
About 15 years ago I tried setting up Debian and couldn't do it. CentOS is not an option anymore but I am very excited about Rocky Linux and hope they will make a release soon. I am considering becoming a Rocky Linux contributor.
 
Old 02-25-2021, 03:28 AM   #5
degoor
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
I'd focus on security distro. Might even go with OpenBSD or a commercial linux.
Would you recommend a security distro that is fairly easy to set up and will run OK on a dual CPU PC. For instance Qubes OS is considered top security OS nowadays but it has somewhat higher hardware requirements. Do you think Kali Linux is a good option?

Apart from wine I need to setup python as a mini conda environment, java-jdk and two libraries that I use for my internet re-connection script {for sikulix platform} opencv & tesseract. Hope those won't be a real problem for any mainstream security distro.

Btw, jefro, love your signature comment

Last edited by degoor; 02-25-2021 at 02:16 PM. Reason: EDIT: Wrote Tails instead of Kali Linux.
 
Old 02-25-2021, 09:25 AM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,231

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Honestly? Slackware-current. Start by installing Alien Bob’s multilib packages. You can keep WINE as current as you want using the build script from SlackBuilds.org.

And next time CPU spikes are a problem, use a program called. “htop” to determine what’s responsible.
 
2 members found this post helpful.
Old 02-25-2021, 11:21 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I'd advise MX Linux. That's basically a customised Debian Stable with the Xfce desktop, which is lighter than Cinnamonand far lighter than Debian's standard of Gnome. Incidentally, Cinnamon is not always stable — Clem does warn you on the Mint website.
 
1 members found this post helpful.
Old 02-25-2021, 03:11 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I can't say what is easy. If you know Centos then consider Red Hat. They offer it under some free version.
OpenBSD is easy if you know it.

Anytime I see financial I think security.

The sig is a rant because the mess in Texas last week. I'm sure there is blame to go around but it was a record cold that I've never seen.
On top of that 2 ice storms and two snowfalls. My rain water collection tanks froze solid. They've never even gotten close to being frozen.
My all electric bill for that month..... $133 I guess that isn't terrible but my heat pump wasn't rated below 10 degrees.
Only 3 of the 4 nuclear plants were online and half of the regular plants. Wind farms and solar all shut down. Texas has closed quite a number of existing plants in the last 15 years with no gains.
I charge my electric car at night. That usually means nuclear.

A 6500W gas generator kept my wife I warm and able to melt snow for toilets and cook food on. It's easy to warm chili on an induction cooktop portable unit.

Last edited by jefro; 02-25-2021 at 04:09 PM.
 
1 members found this post helpful.
Old 02-25-2021, 10:37 PM   #9
degoor
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DavidMcCann View Post
I'd advise MX Linux. That's basically a customised Debian Stable with the Xfce desktop, which is lighter than Cinnamonand far lighter than Debian's standard of Gnome. Incidentally, Cinnamon is not always stable — Clem does warn you on the Mint website.
Thanks for the suggestion! MX Linux is the top most downloaded distro on distrowatch.com so I should have come to this idea on my own.

Quote:
Originally Posted by dugan View Post
Honestly? Slackware-current. Start by installing Alien Bob’s multilib packages. You can keep WINE as current as you want using the build script from SlackBuilds.org.
Hm, hm, seems I am getting "slacked". Unfortunately Slackware-current is out of my reach {I might need weeks or months to make it work properly}. But there are two Slackware-based distros, Absolute Linux and Salix that seem reasonable enough to try out.

For now I think I should try to reproduce the current Linux Mint system in a virtual machine and compare it to three VM-s with MX Linux, Manjaro and Kali Linux with the same characteristics. Hopefully one of those would show a lower CPU load. Next in line stand LXQt/LXDE Fedora and LXLE/Lubuntu. If I don't get any significant improvement on any of those I'll start to look for a more customized solution (something like Arch Linux, Slackware-based or FreeBSD/OpenBSD).

Another possibility is to play with the wine versions or the wine setup. I wonder if I can get better performance with an earlier wine version (like 3.0 or 4.0 vs the more recent 5.0 & 6.0).

Anyway this is the plan for now
 
Old 02-26-2021, 10:51 AM   #10
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Salix is very nice — I used to have it on a lap-top. But it's based on Slackware's stable repository, so it's several years old. When Slackware 15 finally staggers out, then the Salix team will start to produce their version — some time yet, I fear.
 
1 members found this post helpful.
Old 03-12-2021, 09:33 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,641

Rep: Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966
Quote:
Originally Posted by degoor View Post
I have a remote PC station that is a refurbished machine with the follow specs:

Lenovo ThinkCentre A62, Processor: AMD Athlon 64 X2, 5200B 2700Mhz 1MB, RAM 8192MB DDR2, 250 GB SATA, can boot from USB, but has no CD/DVD device.

I bought that because I needed to setup a remote pc station running 24/7 a Windows based financial platform. I don't like any Windows OS that is not daily restarted so I decided I should run that Windows software with wine on Linux.

I need to run a few instances of that platform and one of its current functions is to mine price data, recording every minute the prices of about 150 major stocks.

I have some experience using Linux workstations (mainly Ubuntu) so I set up that remote PC with Linux Mint 20 "Ulyana" - Cinnamon (64-bit) which is based on Ubuntu 20.04 LTS.

The remote PC has been running for 2 months now and I started to notice a few problems. It turns out that a Linux desktop system is not so stable as I expected.

I began running under wine 2 instances of the financial platform and the CPU usage was on average 80-85% which seemed to me a lot given the fact that this platform is really light on Windows {should have been written in about 2005 or even before that}.

When I started the price mining in a third instance without restarting the OS, the CPU load went to over 90% and in 2-3 hours after I left it to run on its own, the PC crashed. When I restarted the system, the 3 instances loaded the CPU to about 80-85%.


Apart from the platform instances I need to have an open web browser running a single web page which I use to login into my internet account. The PC also runs a script that attempts to reconnect the internet on its own.

I think I made a mistake using a typical desktop Linux distribution that is not really intended to be light on somewhat older hardware. I might have been better off installing some Ubuntu server version {or another Linux server} and adding some lightweight window manager / desktop environment on top of it.

What would you have done if you were in my shoes?
Bolded a few lines above for emphasis only. Like you, I prefer Linux over anything else, but in your case I'd suggest NOT using it, and running Windows instead. You say yourself that the load on that app should be low, but Wine is obviously working pretty hard to make it happen.

Since you asked what I'd do if I was in your shoes, I'd run Windows....use the right tool for the job. I understand the sad nature of Windows security and how clunky it is, but in this case, you're running a Windows app. Run it on Windows. Get a cheap PC, set it on its own network away from your other systems and let it rip. I know it's not really what you asked, but given the app and what it's doing, it seems to make sense.
 
  


Reply

Tags
desktop, finance, server, ubuntu, wine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenGamma updates its open source financial analytics platform LXer Syndicated Linux News 0 12-21-2012 04:30 AM
LXer: OpenGamma financial analytics platform now open sourced LXer Syndicated Linux News 0 04-29-2011 05:41 PM
LXer: Financial group trusts Linux platform to protect customers' assets LXer Syndicated Linux News 1 01-11-2008 09:56 AM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration