Alt 29.06.2020, 10:27
Tibono Tibono ist offline
Registriert seit: 22.05.2018
Ort: Frankreich
Alter: 62
Beiträge: 501
Abgegebene Danke: 2.374
Erhielt 1.200 Danke für 398 Beiträge
Aktivitäten Langlebigkeit
10/20 6/20
Heute Beiträge
0/3 ssssss501
MessChess engines start-up


Using a low performing laptop (only 2 core CPU) I used to face issues starting up tournaments involving CPU demanding emulated devices (the fast ones, such as the Fidelity EAG v10).

The obvious symptom, in addition to 100% CPU during start of the engine and longer delay until start completed, was the set of parameters was not enabled (usually, this set includes at least emulation speed% & chess computer level): I got an empty window while using the "configure engine" feature.

Restarting the very same engine after having made sure no other program would use too much CPU (including temporarily setting other emulated devices on pause) was a working but uncomfortable workaround.

I recently happened to know: another CB-Emu user faced similar issues despite running a much more powerful core i7. The probable reason why, being he wanted to run several tournaments concurrently, with as many as 6 devices running.

So my weak laptop issue can translate into high use issue even for powerful PCs.

I succeeded in solving it, so maybe this would be useful to share here.

On engine start, data (including options definition, I guess) is fed thru reading the stdin channel; my understanding is this reading runs too fast with regards to the MessChess concurrently starting to run, and sometimes (often with CPU demanding devices) fails to get the complete data. There is not much smart ways to make a lua script sleep a short while to slow it down, a simple one avoiding the need for external extensions or operating system features is to run dummy loops (nested ones seem to enable best time sharing).

Should you face similar issues, download the attached init.lua.txt into your CB-Emu\MessChess\plugins\chessengine directory, then rename the former init.lua to anything else (to keep safe a backup copy), and rename the new version without the .txt suffix (added to enable uploading it within the forum post).

Hope this helps,
Angehängte Dateien
Dateityp: txt init.lua.txt (18,0 KB, 324x aufgerufen)
Mit Zitat antworten
Folgende 3 Benutzer sagen Danke zu Tibono für den nützlichen Beitrag:
AlexS (20.07.2020), blitzchess (29.06.2020), Boris (08.07.2020)


Du bist nicht berechtigt, neue Themen zu erstellen.
Du bist nicht berechtigt, auf Beiträge zu antworten.
Du bist nicht berechtigt, Anhänge hochzuladen.
Du bist nicht berechtigt, deine Beiträge zu bearbeiten.

BB code ist An
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist An.

Gehe zu

Ähnliche Themen
Thema Erstellt von Forum Antworten Letzter Beitrag
Stellung: Einfache Taktikaufgaben für den Start in den Tag... CC 7 Teststellungen und Elo Listen / Test positions and Elo lists 2 09.07.2020 18:43
MessEmu: MessChess / Mess Emu und MacOS Nisse Mess Emu & andere Emulationen / Mess Emu and other Emulations 24 14.01.2020 10:22
MessEmu: MessChess und Winboard fhub Mess Emu & andere Emulationen / Mess Emu and other Emulations 33 13.10.2019 14:16
Umfrage zum WM Start Chessguru Partien und Turniere / Games and Tournaments 0 12.12.2005 20:38

Alle Zeitangaben in WEZ +2. Es ist jetzt 00:21 Uhr.

Powered by vBulletin (Deutsch)
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.