Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IDE almost flatlines 4 of 4 cpus - linux - any cure?
#1
Hello everyone,

It's been quite some time since I last posted on QB64PE Forum. I'm so glad that you kind folks have continued QB64. Greetings from Vientiane, Laos.   Smile

I've installed and compiled the Linux version on my Linux Mint box. When I run the ISE, it almost flatlines 4 of 4 cpus. This makes things a bit sluggish.

Is there a way to restrict operation to 1 or 2 cpus at most?

Many thanks,
desA
Reply
#2
Take a look under "Help".
Reply
#3
If you're editing via the IDE then there's not a whole lot you can do, I would consider editing using a different editor and compiling your code via the command line. I've used geany, vim, gedit, etc. There's lots of good choices on Linux and all of those are very lightweight.

You can use:
Code: (Select All)
qb64pe -x ./foobar.bas -o ./foobar
to compile your code from the command line. It's pretty straight forward to set that up to run from most editors so that you can just hit a button.

If it's the compiling of your code that causes the issue then in `Options -> Compiler Settings` you can change the max number of compiler processes allowed, it defaults to 3 but you could set it to 1. This is unlikely to do a ton though as the build is not very parallel anyway, and we avoid rebuilding things when not necessary. That said the compiling should get faster after the first time you compile a program, as it's the recompiling of `libqb.cpp` that will likely cause the slowdown but that shouldn't happen often.
Reply
#4
Man! didn't I just reply to this??? WTH this was posted twice!
https://qb64phoenix.com/forum/showthread...5#pid26925

I thought I was losing my mind, Alzheimers is big fear at my age.... always on lookout until we forget to be ;-))
b = b + ...
Reply
#5
Being a relative Newbie, I initially posted here, then realised it was better placed in 'Help Me'. I tried to delete this first post, but could not find the way to do so.

Smile
Reply
#6
Yeah for OS problems I can see myself being torn, either way works IMHO maybe administrators have more helpful perspective which route. Posting twice... well I will just take it as my annual weekly hourly Alzheimer's Test ;-))

More and more we hear about Linux, more and more we question Windows infinite wisdom, more and more I am tempted to explore Linux further but this old dog can learn only so many new tricks...
b = b + ...
Reply




Users browsing this thread: 5 Guest(s)