Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #11  
Old 07-10-2019, 10:35 AM
Martos777 Martos777 is offline
Large Rat


Join Date: May 2016
Posts: 8
Default

I followed the thread
https://www.project1999.com/forums/s...ad.php?t=14125
So I started the program with:
taskset -c 0 padsp wine eqgame.exe patchme 2>/dev/null

The right thing would have been:
taskset -c 1-3 padsp wine eqgame.exe patchme 2>/dev/null
Reply With Quote
  #12  
Old 07-10-2019, 12:22 PM
CodyF86 CodyF86 is offline
Sarnak

CodyF86's Avatar

Join Date: Jan 2013
Location: Colorado
Posts: 228
Default

Also the latest staging branch of WINE works amazing with the Everquest client, if you are on a debian system install it.

sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt install --install-recommends winehq-staging
__________________
[60 Grandmaster] Aaradin (Iksar) <Riot>
Reply With Quote
  #13  
Old 07-11-2019, 08:55 AM
Benanov Benanov is offline
Sarnak


Join Date: Jun 2019
Posts: 352
Default

Quote:
Originally Posted by Martos777 [You must be logged in to view images. Log in or Register.]
I followed the thread
https://www.project1999.com/forums/s...ad.php?t=14125
So I started the program with:
taskset -c 0 padsp wine eqgame.exe patchme 2>/dev/null

The right thing would have been:
taskset -c 1-3 padsp wine eqgame.exe patchme 2>/dev/null
1-3 would get you CPU 1, CPU 2, and CPU 3. A small amount of overkill, but that will work.

My system has CPUs 0 - 7. Each 'pair' (0,1), (2,3), (4,5), (6,7) is a physical core, because Intel's Hyperthreading is basically using one CPU and 'splitting' it when it can. This is not perfect, and there are times where one CPU will stall the other out because they both want to do the same operation.

HT came out long after EQ did. So my taskset arguments are to assign EQ to one physical core (the 2,3 pair) instead of one virtual core (where 2 can be 'interrupted' by the OS putting a task on 3).

From Wikipedia:

Quote:
In addition to requiring simultaneous multithreading (SMT) support in the operating system, hyper-threading can be properly utilized only with an operating system specifically optimized for it.[5] Furthermore, Intel recommends HTT to be disabled when using operating systems unaware of this hardware feature.
While EQ isn't an 'operating system' it was written before HT was a thing. HT came out with P4's and I was running EQ on a P2. That's why I tell taskset to give it the pair - and since EQ is a CPU hog, the OS doesn't try to schedule anything else on that one.
Reply With Quote
  #14  
Old 07-13-2019, 11:24 AM
loramin loramin is offline
Planar Protector

loramin's Avatar

Join Date: Jul 2013
Posts: 9,340
Default

Quote:
Originally Posted by CodyF86 [You must be logged in to view images. Log in or Register.]
Also the latest staging branch of WINE works amazing with the Everquest client, if you are on a debian system install it.

sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt install --install-recommends winehq-staging
Normally I don't use "bleeding edge" libraries, but you talked me into it [You must be logged in to view images. Log in or Register.]

One note: you might need a sudo apt-get update in between the last two commands:

Code:
sudo apt-key add winehq.key
sudo apt-get update
sudo apt install --install-recommends winehq-staging
__________________

Loramin Frostseer, Oracle of the Tribunal <Anonymous> and Fan of the "Where To Go For XP/For Treasure?" Guides
Anyone can improve the wiki! If you are new to the Blue server, you can improve the wiki to earn a "welcome package" of up to 2k+ platinum! Message me for details.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 04:20 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.