App taking excessive time to run, and excessive thread count

I’m using a map/world generating program for a game. The program I’m using is called Teragon. Whether generating a new map/world, or creating a preview map of an existing world, the problem I’m having is the same(?). The program will eventually complete correctly, but while it’s processing , it:

  1. Pegs out all my cores.
  2. Launches a ridiculous number of threads.
  3. Takes an excessive amount of time to complete.

When I launch the program, it immediately has 12 threads - fair enough. But while importing the first file, the thread pool it’s using continues to grow until it’s using 513 threads. Mind you, the first file is an 8192 pixel X 8192 pixel, 5 color PNG(1.2MB). And it takes around 9 minutes to import the file. While it’s using 97-98% of the 6 core, 12 thread CPU at 4.14 GHz.

For comparison, someone else importing the same sized 5 color file, takes around 45 seconds, using 19 threads. Other people on other Distros, or on Windows, are getting similar results.

There are 2 other ‘main’ files it imports to make the preview map, and they’re the same size (8K X 8K), and similar in MB. The entire process is taking me almost 40 minutes, and I’m told it should take around 5.

OS: openSUSE Leap 15.5
Hardware: AMD Ryzen 5 3600 6 core/12 thread, 32 GB ram, Radeon RX 570 8 GB video

I could probably post a copy of the world files up to Google Drive, and a copy of Teragon as well, if someone else using openSUSE would be willing to test it out.

I created a VirtualBox VM and installed Fedora 40 Workstation. Installed Wine. Configured all the necessary directories on the Wine C drive. Installed the program - Teragon. Copied over the necessary game files. And ran it. It took 56 seconds to create 2 preview files: 1 normal ~7MB map, and 1 hires 107MB map file.

So yeah, this is some kind of OpenSuSE issue. Or perhaps the way I have something configured, or libraries I have installed or something…

Final reply to the no help at all forums…
Someone else tried it using Tumbleweed, and they got the same results as I did. So this isn’t a me problem.

Unfortunately you did not even provide a link to the homepage of the tool or an official download link. Google researches does not throw a useful result for this tool. And keep in mind that nobody with a basic sense of IT security, will download an unknown, undocumented arbitrary file from your Google drive…

Agreed with Hui here - you didn’t really provide enough information for anyone to even know where to start.

These forums are community-based, and when you don’t get a response, it’s usually because nobody has any idea how to help. It’s nothing personal.

It appears that the software you’re using is Windows software that you’re running with WINE. WINE itself can be built any number of ways, so it could well be down to a difference between how it’s built on Fedora and how it’s built for openSUSE. Or it could be something hardware-related (since VirtualBox doesn’t use the native hardware, but emulates more standardized hardware, it’s possible that the code ‘gracefully degrades’ if, for example, video acceleration isn’t available).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.