Home › Forums › Programming › XNA Oddly Slow
- This topic has 5 replies, 5 voices, and was last updated 14 years, 6 months ago by Anonymous.
-
AuthorPosts
-
-
06/06/2010 at 11:59 am #7752AnonymousInactive
Dear all,
I recently got a new PC (Dell Studio 1749, Intel iCore 3, 2Gb Ram and ATI HD 5650, Win 7 Professional 64bit). I’m trying to run some XNA code I wrote on my previoius PC (an HP with the same OS, 4Gb of Ram, older processor and Nvidia Fx Quadro). Both had installed VS 2008 and XNA 3.1.
The problem I’m having is that simple programs run very very slow (10fps, in some cases even worst), while they were running smoothly on the older PC; I didn’t find an answer looking on the web. Could this be a driver issue? I know the code is not highly optimised, but still it was sound previously.Thanks for any help!
-
06/06/2010 at 1:25 pm #45843AnonymousInactive
It’s hardly to do with RAM by any chance? You’d 4GB on the old machine and 2GB in your new one.
At the best of times VS can be a bit of a memory hog even if your just editing code and not running / debugging and Win7 requires a fair bit of RAM even just to run IIRC.
-
07/06/2010 at 12:28 am #45844AnonymousInactive
2GB RAM is the minimum requirements for Windows 7 (x64), it’s that big a resource hog. So there’s your limit.
You don’t even need a 64bit processor unless you’re using 4GB RAM or more, so get another 2GB in there.
-
09/06/2010 at 1:50 pm #45854AnonymousInactive
You don’t even need a 64bit processor unless you’re using 4GB RAM or more, so get another 2GB in there.[/quote:081bafc0fc]
No offense meant, but that is a bit of a stupid statement TBH :roll:.
-
09/06/2010 at 8:17 pm #45857AnonymousInactive
When compiling, make sure to check the correct configuration is selected.
As you have a multi-core, checkout threading on XNA.
Give processor affinity a try! e.g. for collision loop – if your game needs one.BTW nice machine :wink:
-
10/06/2010 at 8:27 am #45858AnonymousInactive
When compiling, make sure to check the correct configuration is selected.
As you have a multi-core, checkout threading on XNA.
Give processor affinity a try! e.g. for collision loop – if your game needs one.[/quote:2fd01c5b78]At the moment I can’t afford buying a new bank of RAM, so I’ll try and see if there’s any optimisation I can apply, both in the update and draw functions; it could be also that the the program is not well structured.
BTW nice machine :wink:[/quote:2fd01c5b78]
It’s the one we won for the Imagine Cup :)
-
-
AuthorPosts
- The forum ‘Programming’ is closed to new topics and replies.