Jump to content

feersum.endjinn

Member
  • Content Count

    528
  • Joined

  • Last visited

  • Medals

Posts posted by feersum.endjinn


  1. Wether single or multi-threading is deployed it seems a bit odd to allow the OS to dictate on which core the thread is run. It would be really useful to add core selection functionality to a programming languages threading class so it could be dictated by the app not the OS.

    Well, generally speaking OS probably knows better where thread is best run on, as it can see big picture what's going on with processes. Of course, if application thinks it knows better, it can suggest OS where processes should be run using Win32 calls like SetThreadIdealProcessor and SetThreadAffinityMask but they aren't really useful in most real life applications, process affinity is most often used to force old buggy multithreaded applications to run on single core (like every game based on Unreal engine :P )


  2. would it bring a performance increase? After all a thread is a thread and provided threads are managed correctly and dont lock each other out, does it really matter which core its executing on?

    No, not with current CPUs we have where each core is identical. Though operating systems generally try to run thread on same CPU it was run on last time slice, as it is very likely that L1 cache is populated with that data belonging to thread.


  3. Hmmm, but multi threaded applications do not per definition support multi-cpu yes?

    I thought that all threads from 1 application would only run on 1 cpu at a time, but the threads together would switch between the 2 cpu's depending on the OS?

    Which aspects within code/a program needs to be changed/considered to make the app really use&take advantage both cpu's?

    In all Windows versions with support for multiple CPUs threads from same process can and often will be sent to different CPUs, so every multithreaded program by default benefits from multiple CPUs. As for how much they benefit, it depends on what program is doing. Some problems are easier parallelize than others.


  4. for example for c# (my native language) i can find no immediate info on how to implement and manage multi-threading on multiple cores. Currently if i create a thread there is no way of dictating on which core that thread executes, unless of course there is a load bearing algorithm hard coded in the cpu?

    It is responsibility of operating system and generally speaking if you launch another thread, they will go on to whatever core is free at the moment. What CPU thread runs might change at every time slice, which happens ~1000 times per second (of course there are some optimizations like processor affinity to prevent cache trashing)


  5. Nice work, but there seems to be slight issue with alpha channel texture filtering in autumn leaves... You can see the white border on leaves, which can be prevented by setting alpha channel to 1 bit and turning off texture alpha interpolation; how it is done, depends on what texture conversion program you use - TexView doesn't support it. Kegetys PAA plugin for Photoshop or PAATool can do it though.

    http://img163.imagevenue.com/img.php....5lo.jpg

    Issue with alpha interpolation is explained here...

    http://community.bistudio.com/wiki/paa#Alpha_channel_interpolation


  6. of course, there are also companies that would never have released a game in the state ArmA was/is in, and also support their games for years; Blizzard, Ensemble, id Software etc.

    those are the kind of companies that should be a glowing example of how to handle this business.

    They are also companies that have financial resources way beyond what average game developer has. I was beta tester for latest World of Warcraft expansion and hadn't Blizzard told Vivendi "screw Christmas, we can't make it" it would've been in horrible shape at originally planned December release date. And there are still plenty of game stopping bugs left that were reported way way back in beta...

    Not too many developers can tell their publishers to postpone things after most important sales period of year.


  7. From fiction, I just finished George R.R. Martin's "A Song of Ice and Fire" series which is HIGHLY recommended and just started on Steven Erikson's "Gardens of the Moon" - both are fantasy, but from different ends of genre.

    From non-fiction, I've read lots of stuff but there's very few worth mentioning, too many hastily written books to cash on War on Terror and Iraq. Last book I read that I can honestly recommend was Steve Coll's "Ghost Wars" which is about US involvement in Afghanistan from 70's to 2001.

    I've been trying to get my hands on Mark Bowden's "Guests of Ayatollah" but local bookstore doesn't seem to have it and I haven't bothered ordering it from Amazon yet.


  8. I'm not British but that racism row in Big Brother got plenty of attention even outside UK...

    Though considering other women present in that show, it's not too hard to come off as beautiful and sophisticated tounge2.gif


  9. The thing that bothers me about Second Life is that it offers a virtual copy of everday life. But no matter how good the graphics will get it'll only just be that, a copy. And I just don't get why one should waste time on a virtual reality when one could have so much better and true experiences in real life.

    Unfortunately moderators removed link to somethingawful.com's Second Life Safari but if you can live experiences like that in real life, you have some seriously f'd up friends tounge2.gif


  10. BUZZARD @ Jan. 30 2007,01:12)]Which would explain why in "Project: Entropia" the record stands of 100.000$ real US Dollars having been spent on a virtual property, so far the highest amount ever to have been paid for any virtual property in any MMORPG to date... crazy_o.gif

    The virtual currencies in SL and such aren't very liquid though, the in game inflation is considerable and there are very limited (if any) options of turning your virtual $100 000 back into real world currency.


  11. 16 sounds like good default option, as my onboard Realtek ALC850 claimed to support 46 simultaneous hardware sounds but in practice going anything above 24 produced crackling.

    This was one reason why I bought X-Fi, for me sounds contribute so much than more graphics. It is kind of annoying to hear tank sounds disappear every time you shoot your weapon or you run so fast that character starts to breath heavily - 16 sounds is way too low for any larger battle.

    Therefore I vote for some kind of option to enable more 3D sounds for those that have hardware to support it.


  12. I am seeing some cutscene/intro scripts in the SP missions that dont seem to be running correctly. If I run them in armed assault next to a computer running them in OFP there are alot of differences. Im not a cam scripting wizzard so Im thinking I may need some help with them.

    Camera scripts have gotten most changes and we probably have to put preloading to every camera run but for actual mission logic, there shouldn't be too many changes.


  13. As ArmA still supports .SQS scripts just fine, I don't see any real need to rewrite everything unless script has to be replaced for some reason.

    Also I think it's better to grab off mission files from XboX version as they are newest versions out there (as some OFP patches touched SP/MP missions as well).


  14. Any unused memory left over from applications is used as file system cache by Windows. Since operating system tend to be quite effective in choosing proper data to cache, why should ArmA try to reimplement disk caching?

    Demo memory usage isn't too high anyway because island is less than half of proper Sahrani and demo is missing quite a few units and vehicles, full version uses a bit more memory. Performance is still mostly GPU limited, with Nvidia 7900GS fps was just the same with 1GB or 2GB memory. Alt-tabbing back and forth to Windows was a lot faster with 2GB though, makes script editing and testing a lot more snappier smile_o.gif


  15. We'll probably need some kind of Subversion guide for people who haven't used it before. I can try if I can get some kind of "newbie guide to SVN" together as I'm in process of setting up SVN for FDFmod as well.

    Funny fact: command line version is a lot more easier for people new to version management than TortoiseSVN despite latter one being GUI software smile_o.gif

×