|
||
|
|||||||
| Other Cant find a category above, use this one! Core mods not listed above go here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Account Terminated
Join Date: Sep 2007
Age: 38
Posts: 39
|
For those who are not updating with the SVNs, here is an article to fix the cpu usage issue that occures on multi core/cpu machines:
Age of Valor :: View topic - Fixing CPU hog issue in RunUO2 RC1 with dual cpu/core Even if you are on single cpu I would recommend doing this change to avoid future headaches. Not fixed, this causes your server to support little to no players as it eats up the whole cpu (its equivalent to 100% cpu usage on single core) The fix is very easy to do, in theory, your changing a 0 with a 1. That's it. |
|
|
|
|
|
#2 (permalink) | |
|
Forum Expert
Join Date: Nov 2005
Location: San Diego, CA
Posts: 1,824
|
Quote:
Like this: Code:
TimeSpan multiCoreSleep = new TimeSpan( 10000 );
TimeSpan singleCoreSleep = new TimeSpan( 1000000 );
while ( !m_Closing ) {
Thread.Sleep( m_MultiProcessor ? multiCoreSleep : singleCoreSleep );
|
|
|
|
|
|
|
#4 (permalink) |
|
Forum Novice
|
Yep, as you can see on http://svn.runuo.com/repos/runuo/devel/Server/Main.cs
__________________
La connaissance s'accroît quand on la partage. Share your knowledge, you'll increase it. Utopia. Votre Monde. |
|
|
|
|
|
#6 (permalink) |
|
Newbie
|
does anyone actually have this already fixed. someone tried to help me with the directions on HOW to edit and recompile, but i just cant get it
im sorry. im not a programer and when it comes to figuring out how to edit and compile, im just not good at it. thanks |
|
|
|
|
|
#7 (permalink) |
|
Forum Novice
|
Hi,
Here the RC1 core recompiled with only this modification: RunUO-RC1-multicpufix.exe (x86) Use it at your own risk. I don't warrant it runs, it won't cause the loss of all your data, a thermonuclear war.
__________________
La connaissance s'accroît quand on la partage. Share your knowledge, you'll increase it. Utopia. Votre Monde. |
|
|
|
|
|
#8 (permalink) |
|
Newbie
|
thank you very much for this file, but its still using 50%+ of bolth my cpus'
here is a system spec: ------------------ System Information ------------------ Time of this report: 11/2/2007, 16:15:50 Machine name: Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.070227-2254) Language: English (Regional Setting: English) System Manufacturer: Foxconn System Model: OEM BIOS: Phoenix - AwardBIOS v6.00PG Processor: Intel(R) Pentium(R) D CPU 3.40GHz (2 CPUs) Memory: 2046MB RAM Page File: 251MB used, 3688MB available Windows Dir: D:\WINDOWS DirectX Version: DirectX 9.0c (4.09.0000.0904) DX Setup Parameters: Not found DxDiag Version: 5.03.2600.2180 32bit Unicode --------------- Display Devices --------------- Card name: NVIDIA GeForce 8500 GT Manufacturer: NVIDIA Chip type: GeForce 8500 GT DAC type: Integrated RAMDAC Device Key: Enum\PCI\VEN_10DE&DEV_0421&SUBSYS_C7403842&REV_A1 Display Memory: 512.0 MB Current Mode: 1680 x 1050 (32 bit) (60Hz) Monitor: ViewSonic VX2035wm SERIES Monitor Max Res: 1680,1050 Driver Name: nv4_disp.dll Driver Version: 6.14.0011.6371 (English) DDI Version: 9 (or higher) Driver Attributes: Final Retail Driver Date/Size: 9/17/2007 01:07:00, 5783040 bytes WHQL Logo'd: Yes ------------- Sound Devices ------------- Description: Realtek HD Audio output Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0883&SUBSYS_105B0C87& REV_1000 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: RtkHDAud.sys Driver Version: 5.10.0000.5397 (English) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 4/10/2007 19:04:40, 4397568 bytes Other Files: Driver Provider: Realtek Semiconductor Corp. HW Accel Level: Full Cap Flags: 0xF5F Min/Max Sample Rate: 8000, 192000 Static/Strm HW Mix Bufs: 33, 32 Static/Strm HW 3D Bufs: 33, 32 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: Yes, Yes I3DL2(tm) Listen/Src: Yes, Yes Sensaura(tm) ZoomFX(tm): No Registry: OK Last edited by rsharp; 11-02-2007 at 05:23 PM. |
|
|
|
|
|
#9 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 155
|
Does anyone have the pre-compiled RC1 exe fix linked above by Dereckson? [link is dead]. If so could they reupload it here, or perhaps send it to me?
Thanks much!! -GhostRiderGrey Edit: Got the RC1 source files and will try and compile the fix. Last edited by GhostRiderGrey; 05-07-2008 at 05:10 PM. Reason: Change of status |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|