cpu - disabling sound in a game increases FPS

07
2014-07
  • user318160

    Take League of Legends for example.. When I have my sound on I get an average of 50 FPS, but when I disable it my FPS rises to 60. Why Is this? I thought sounds were played using the CPU and FPS is dependant on your GPU right? What do these things have in common? It's not like sound has to be rendered or something, right?

  • Answers
  • martin

    On a modern PC, GPU is almost never a bottleneck. There are lot of things that need to be done on CPU in every frame: physics simulation, AI calculations, applying any game mechanics. Rendering the scene on GPU is only the last step in main game loop. So it follows that freeing up some CPU time makes the game run faster.

    However, I would be very surprised if overhead related to sound would amount to 33% increase in speed, I would suspect something else is in play here.


  • Related Question

    The difference between GPU and CPU
  • KdgDev

    I know what a CPU is(I think). It's the thing who's speed is measured in GigaHertz(these days).

    However, you hear a lot about a GPU, and letting the GPU take over, not letting the CPU but the GPU do it, GPU-based rendering, etc...

    What is this GPU anyway? How can I access it and use it to my advantage? What am I missing out on here?


  • Related Answers
  • Tom Wijsman

    The GPU is the graphical processing unit. It is the CPU of the video card.

    Traditionally the CPU did all of the graphics processing until video card manufacturers began including GPUs on the display adapters. The GPU was a dedicated piece of hardware similar to the old FPU (floating point unit that was dedicated to performing advanced math routines faster than the CPU), that could perform common graphics routines really fast. (Actually GPUs came with the move on the part of video card manufacturers to incorporate graphics acceleration into the card instead of requiring a separate board, just like the function of FPUs was eventually incorporated directly into CPUs.)

    Eventually, GPUs outpaced CPUs so that a graphics processor actually had more transistors, ran faster (and hotter), and such. Graphics card manufacturers realized that the GPU was now a really powerful piece of hardware that is often sitting idle (for example when browsing the Internet, editing documents, etc.) So, starting with the X1300, ATI’s cards included AVIVO, which would allow the user to run video conversion software on the video card’s processor instead of doing it just on the slower CPU. Nvidia responded with CUDA, the first true GPGPU which basically, is a way to use the GPU(s) on a video card as general-use supplemental processors that can be used for any purpose, not just graphics or video related purposes.

    Because a GPU is highly optimized to perform advanced calculations such as floating-point arithmetic, matrix arithmetic, and the like, they can perform functions like video conversion, post-processing, as well as tasks like BOINC or Folding@Home much better than with a CPU alone.

    A modern computer can be quite the powerhouse, with a multi-core CPU and multi-GPU video card(s) that can act as super CPUs, the processing power of today’s computers is truly quite incredible. Even better, manufacturers are making the chips more power efficient, so that they are really powerful, but can also draw as little power and generate as little heat as possible when they are not necessary, thus giving us the best of both worlds!

  • phoebus

    The GPU is the Graphics Processing Unit. It is essentially the CPU of your video card (CPU is Central Processing Unit, the "brain", or processor, of a computer). Video cards these days are so complex that they are basically computers in themselves, with their own memory, buses, and processors.

    GPUs historically have been relatively special-purpose, designed for maximum power when performing a discrete set of graphics operations on particular types of data primitives (vertices, pixels, etc). However, companies like Intel, nVidia, and ATI are starting to push the envelope with more general-purpose GPU components, making it easier than ever before for software developers to utilize extra processing power available on the video card to perform non-graphics operations. Combined with things like CUDA and other specialized GPU languages, these new chips open up a lot of possibilities.

    GPGPU is sort of the headquarters for general purpose GPU computing. As a user, rather than a programmer, the whole "offload to the GPU" thing doesn't really concern you at this point, outside from a situation in which you would use software designed in that manner (not very many pieces of end user software exist at the current time).

  • knitatoms

    The CPU is the Central Processing Unit (probably your Intel or AMD processor).

    The GPU is the Graphics Processing Unit on your graphics card. See:

    http://en.wikipedia.org/wiki/Graphics_processing_unit

    They are hard to program but have the benefit of being massively parallel so can crunch some tasks much faster than the CPU.

    New initiatives such as CUDA from Nvidia hope to unleash this potential by making programming for it easier. See:

    http://en.wikipedia.org/wiki/CUDA

  • Phoshi

    A GPU is just a CPU dedicated to graphics processing. A CPU can process just about anything, but a GPU is tailored to calculating 3D images - people are starting to harness your GPU because it's very, very good at parallel processing, meaning that software that does a lot of things that don't depend on each other can run it through the graphics card for much better preformance.

    Plus, it's never normally used, so harnessing it's power can't really hurt.