Forums » General

Is Vendettta multithreaded?

12»
Jan 08, 2004 alienb1212 link
I've got a dual pIII box, and it actually seems to run Vendetta better when I have it assigned to just one CPU, I'm guessing Vendetta isnt multithreaded? Could it be? Could you have an optional SMP package for Windows and Linux?
Jan 08, 2004 Suicidal Lemming link
Why just windows and linux?
Jan 08, 2004 SirCamps link
Yeah.... why just PC and linux?
Jan 08, 2004 alienb1212 link
IIRC, Macs handle SMP a bit differently, I think it wouldnt really benefit very much from it. But whatever, if it works on macs to, and is easy to program, that'd be great too..
Jan 08, 2004 Suicidal Lemming link
From what I have heard macs are extremely efficient with dual processors.

*pokes raybondo*
Jan 08, 2004 alienb1212 link
exactly, I'm not sure, but I think the os can handle it well already...not sure if it'd be much of a boost.
Jan 08, 2004 roguelazer link
I think it's already multithreaded in Linux. Of course, you can only use it if you paid your SCO fees for the SMP code in the kernel. :D
Jan 08, 2004 alienb1212 link
man...do you like write "Linux Geek Today" or something? Sheesh..:p
Jan 08, 2004 a1k0n link
No. No multithreading. If we did multithreading, it wouldn't be very advantageous except in the case of loading, or if we were to offload our physics engine and input sampling into separate threads. This would only increase responsiveness, not frame rate, and it would essentially be a redesign and reimplementation of the engine where we could recycle a lot of the code. That would put our engine out of commission for a while, and there are much more important things to do instead.

When we started writing the engine, there were a number of OS-dependent problems with threading. The situation is better today, but still not perfect: DirectX in particular can't be accessed from anything but the main thread, and you can't safely access OpenGL from another thread in Linux either. In OS X, you probably can.
Jan 08, 2004 alienb1212 link
gah! dont say that! all the mack peoples will lets us knows how awersomes theirs OSs is!

In all seriousness, would there be any kind of graphical speed up at all, or would loading be the only thing affected?
Jan 08, 2004 a1k0n link
I thought I was fairly clear. In the case of two processors, the physics engine running separately might marginally speed up overall rendering, but not noticeably. The video card is the single most important factor involving frame rate. Responsiveness, on the other hand, would be mostly framerate independent, and probably vastly improved.
Jan 08, 2004 Froste link
it would be nice if ogg playback wouldn't freeze while loading sectors
Jan 08, 2004 Xorbital link
Let's all get our own NEC Earth Simulators and then complain about bad frame rates :D
Jan 09, 2004 crazydeb8r link
Seriously people - We all sit here and yell at the devs, but lets be realistic - what the crap are you running this on? If you've got broadband connection, at least a 800Mhz CPU and a 32MB video card, you should have a fine framerate. I get a sneaking suspicion that some of you guys are running weatherbug behind vendetta...
Jan 09, 2007 LeberMac link
*bumping* Cause...

Is Vendetta multithreaded yet? Can it take advantage of Intel Duo-Core and/or Intel Quad-core and/or AMD Opteron and/or AMD X2 and/or "Quadfather" processors? Besides the usual OS-taking-advantage-of-it, specifically does VO benefit from these processors?

Or, say, if someone was looking to build a computer system, should that person just buy the fastest single-core processor available? So that person could play VO as well as, you know, do work and stuffs?
Jan 09, 2007 roguelazer link
They keep saying that they're going to multithread all the I/O, which should help a good bit.

And just about any Core 2 Duo is faster than an Athlon64 3500+, Leber. :P
Jan 09, 2007 drdoak007 link
leebs, are you sure that you didnt bump this thread because of it's 2yr aniversary? the last post was two years to the date.
Jan 09, 2007 LeberMac link
Whoa. No, actually I was surprised that the search functionality of the site returned anything, to be honest.

But, looks like even *if* Vendetta is not multithreaded, it would be nicer to get a Core 2 Duo rather than an Athlon, and spend the extra $$ up front.
Jan 09, 2007 upper case link
just use google search for crying out loud!

just append " site:vendetta-online.com" to your search string.
Jan 09, 2007 raybondo link
VO spawns a sound thread.
I did discover that Apple recently added a setting to OpenGL to enable multithreaded rendering. I'm planning on making that an option because it doesn't always improve framerate and uses up more resources.

http://developer.apple.com/technotes/tn2006/tn2085.html