Overclock.net › Forums › Industry News › Software News › Valve Software's Source Engine Multi-Threaded Preview
New Posts  All Forums:Forum Nav:

Valve Software's Source Engine Multi-Threaded Preview

post #1 of 7
Thread Starter 
http://enthusiast.hardocp.com/articl...50aHVzaWFzdA==

Quote:
However, multi-core CPU’s all of a sudden change everything. Now instead of only one core that Valve wants to keep 100% utilized, you have two, or in QX6700’s case, four cores that Valve wants to keep fully loaded. Anything less would just be a waste of computational power, and would cause the end-user to miss out on the gameplay experience.

And so now we move on to the focus of what Valve discussed during their hardware day; the challenges they faced when actually implementing threading within the Source Engine. They noted that there were three different ways they looked at to thread the Source Engine; coarse threading, fine-grained threading, and hybrid threading. With that said, let’s take a closer look at these different techniques and how Valve plans to adopt multi-threading in the Source Engine.


Coarse Threading

Valve likes to describe coarse threading as an approach that puts “entire systems on individual coresâ€. By using the term “systems,†Valve means that they would put physics on one core, AI on another, and so on. They said that this approach is the easiest to implement, and essentially this approach has multiple single threads operating at the same time. In their internal performance tests, Valve saw that they could get nearly 2x the performance in “contrived maps;†a collection of in-game play scenarios that omitted many aspects of real-world game play. However, when they ported coarse threading into real-world Source engine game play, they only saw performance gains of only 20% when compared to single-threaded gaming. This is certainly a testament to real-world gaming testing when compared to the canned benchmark

Fine Grained Threading

The next approach Valve tested out was called fine grained threading. Fine grained threading was designed to accommodate the scalability that coarse threading lacked and essentially worked by taking very similar tasks and parallelizing them over “X†cores, the amount of cores within the CPU. This would theoretically take advantage of future CPU generations that include more cores for more threading ability.

Hybrid Threading

Hybrid threading is the most difficult of the threading techniques and requires a lot of development time to figure out when and how you’re going to implement it. However, hybrid threading is able to scale to the “N†amount of cores we talked about earlier, which will allow hybrid threading to not only take advantage of all four cores in the current Intel Core 2 Extreme Quad Core QX6700, but also in the 80-core CPU Intel announced for release in 2011, and everything in between.

Multi-Threaded AI

AI in games has traditionally had strict CPU limits, and has been given a time splice in a frame and the AI has to do all of it’s calculations within that little time splice. So how will AI change? First it will improve frame rate. You can restructure AI to support something Valve calls “parallel agent execution,†which will let you do calculate AI for multiple creatures at the same time in parallel. Beyond frame rate, multi-threading can make AI more interesting. AI will have better world interactivity, AI that move through the world more realistically and less “stupidlyâ€.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
T5200 Intel 945 Intel Graphics Media Accelerator 950 2GB DDR2 
Hard DriveOptical DriveOSMonitor
WD 160GB SATA Multiformat Double Layer DVD RW Windows Vista Home Premium 15.4" Ultra Bright WXGA TFT/WestingHouse 22" LCD 
KeyboardCaseMouse
Dynex Gateway Dynex 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
T5200 Intel 945 Intel Graphics Media Accelerator 950 2GB DDR2 
Hard DriveOptical DriveOSMonitor
WD 160GB SATA Multiformat Double Layer DVD RW Windows Vista Home Premium 15.4" Ultra Bright WXGA TFT/WestingHouse 22" LCD 
KeyboardCaseMouse
Dynex Gateway Dynex 
  hide details  
Reply
post #2 of 7
Thread Starter 
Quote:
Originally Posted by HardOCP Article
Valve saw benefits in running the server on one core and the actual client side game on another, which will allow gamers to finally host servers they can play on!
Awesome!!!
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
T5200 Intel 945 Intel Graphics Media Accelerator 950 2GB DDR2 
Hard DriveOptical DriveOSMonitor
WD 160GB SATA Multiformat Double Layer DVD RW Windows Vista Home Premium 15.4" Ultra Bright WXGA TFT/WestingHouse 22" LCD 
KeyboardCaseMouse
Dynex Gateway Dynex 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
T5200 Intel 945 Intel Graphics Media Accelerator 950 2GB DDR2 
Hard DriveOptical DriveOSMonitor
WD 160GB SATA Multiformat Double Layer DVD RW Windows Vista Home Premium 15.4" Ultra Bright WXGA TFT/WestingHouse 22" LCD 
KeyboardCaseMouse
Dynex Gateway Dynex 
  hide details  
Reply
post #3 of 7
nice read. Im gonna be getting a dual core, because they really havent even developed games for that yet. So I think quad core gaming is in the way future.
    
CPUMotherboardGraphicsRAM
Intel C2D E6600 Week 28A Asus P5B Deluxe eVGA 8800GTX 2gb Crucial Ballistix DDR2 1000 
Hard DriveOptical DriveOSMonitor
2x 250gb Seagate 7200.10 (RAID 0) + 250gb backup DVD-RW Window XP Acer AL2216W 22" WS LCD 
KeyboardPowerCaseMouse
Logitech Multimedia PC Power & Cooling Silencer 750 Lian Li PC-V1200B Plus II Modded Logitech MX518 
Mouse Pad
FUNC 1030 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Intel C2D E6600 Week 28A Asus P5B Deluxe eVGA 8800GTX 2gb Crucial Ballistix DDR2 1000 
Hard DriveOptical DriveOSMonitor
2x 250gb Seagate 7200.10 (RAID 0) + 250gb backup DVD-RW Window XP Acer AL2216W 22" WS LCD 
KeyboardPowerCaseMouse
Logitech Multimedia PC Power & Cooling Silencer 750 Lian Li PC-V1200B Plus II Modded Logitech MX518 
Mouse Pad
FUNC 1030 
  hide details  
Reply
post #4 of 7
That is pretty awesome.
('́⌣'̀ )
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K ASUS P8P67 (REV 3.0) MSI GTX 560Ti Twin Frozr II/OC 8GB G.SKILL Ripjaws 1600 
Hard DriveOSPowerCase
Seagate 500GB Windows 7 x64 Corsair HX650 Antec 900 
Mouse
Logitech MX518 
  hide details  
Reply
('́⌣'̀ )
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500K ASUS P8P67 (REV 3.0) MSI GTX 560Ti Twin Frozr II/OC 8GB G.SKILL Ripjaws 1600 
Hard DriveOSPowerCase
Seagate 500GB Windows 7 x64 Corsair HX650 Antec 900 
Mouse
Logitech MX518 
  hide details  
Reply
post #5 of 7
Leave it to Valve to get on board early. Great development company.
TITAN-6
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600K @ 4GHZ ASRock Extreme 3 Gen 3 Gigabyte Nvidia GTX 570 8GB G.skill Sniper DDR3 1866 
Hard DriveOptical DriveCoolingOS
Crucial M4 CT128M4SSD2 2.5" 128GB SATA III MATSHITA BD-CMB UJ160 Blu Ray DVD writer Cooler Master Hyper 212+ Windows 7 x64 
MonitorMonitorKeyboardPower
Sceptre 24" LCD BENQ 3D 24" LCD Logitech G510 Corsair 750W HX professional single rail 
CaseMouseMouse PadAudio
CM Storm Sniper Razer Naga left-handed version None Onboard 
  hide details  
Reply
TITAN-6
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600K @ 4GHZ ASRock Extreme 3 Gen 3 Gigabyte Nvidia GTX 570 8GB G.skill Sniper DDR3 1866 
Hard DriveOptical DriveCoolingOS
Crucial M4 CT128M4SSD2 2.5" 128GB SATA III MATSHITA BD-CMB UJ160 Blu Ray DVD writer Cooler Master Hyper 212+ Windows 7 x64 
MonitorMonitorKeyboardPower
Sceptre 24" LCD BENQ 3D 24" LCD Logitech G510 Corsair 750W HX professional single rail 
CaseMouseMouse PadAudio
CM Storm Sniper Razer Naga left-handed version None Onboard 
  hide details  
Reply
post #6 of 7
haha..s.weet
SandyBrin
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7-2600k ASUS P8P67 Deluxe EVGA GTX570 16gb Corsair XMS3 1600mhz 
Hard DriveHard DriveOptical DriveOS
OCZ Vertex 2 SSD - OS Drive WD Black - Storage Drive LG Blu Ray RW 10x Windows 7 Ultimate 
MonitorKeyboardPowerCase
Westinghouse LVM-37W3SE 37" Monitor Logitech G15 PC Power & Cooling 650W Silencer MK2 CoolerMaster Stacker 810 
MouseMouse PadAudioAudio
Logitech G7 RatPadz XT Logitech Z-5500 Audio Technica ATH-700 
  hide details  
Reply
SandyBrin
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7-2600k ASUS P8P67 Deluxe EVGA GTX570 16gb Corsair XMS3 1600mhz 
Hard DriveHard DriveOptical DriveOS
OCZ Vertex 2 SSD - OS Drive WD Black - Storage Drive LG Blu Ray RW 10x Windows 7 Ultimate 
MonitorKeyboardPowerCase
Westinghouse LVM-37W3SE 37" Monitor Logitech G15 PC Power & Cooling 650W Silencer MK2 CoolerMaster Stacker 810 
MouseMouse PadAudioAudio
Logitech G7 RatPadz XT Logitech Z-5500 Audio Technica ATH-700 
  hide details  
Reply
post #7 of 7
Quote:
AI will have better world interactivity, AI that move through the world more realistically and less “stupidly”.
We have all be waiting for the day...
    
CPUMotherboardGraphicsRAM
C2D e6320 Some Asus OEM MB 8600GT 2GB DDR2 pc4200 
Hard DriveMonitorPowerCase
320GB WD Caviar SE 19" WS HP HP OEM HP case 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
C2D e6320 Some Asus OEM MB 8600GT 2GB DDR2 pc4200 
Hard DriveMonitorPowerCase
320GB WD Caviar SE 19" WS HP HP OEM HP case 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Software News
Overclock.net › Forums › Industry News › Software News › Valve Software's Source Engine Multi-Threaded Preview