im muted 4 n0thing Feb 16, 2013 @ 5:23pm
excessive usage cpu in tf2
Screenshot say all.




Thats horrible.

my computer specs



Processor Information:
Vendor: GenuineIntel
Speed: 3401 Mhz
8 logical processors
4 physical processors
HyperThreading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported

Network Information:
Network Speed:

Operating System Version:
Linux Mint 14 Nadia (64 bit)
Kernel Name: Linux
Kernel Version: 3.5.0-17-generic
X Server Vendor: The X.Org Foundation
X Server Release: 11300000
X Window Manager: Mutter (Muffin)
Steam Runtime Version: <Runtime enabled>

Video Card:
Driver: NVIDIA Corporation GeForce GTX 570/PCIe/SSE2

Driver Version: 4.3.0 NVIDIA 310.14
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x10de
DeviceID: 0x1086
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 18,78" x 10,55" (21,54" diag)
47,7cm x 26,8cm (54,7cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 1279 MB
Supported MSAA Modes: 2x 4x 8x 16x

Sound card:
Audio device: Realtek ALC887-VD

Memory:
RAM: 7967 Mb

Miscellaneous:
UI Language: English
LANG: fr_BE.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 930854 Mb
Largest Free Hard Disk Block: 862715 Mb

Installed software:

Recent Failure Reports:
Last edited by im muted 4 n0thing; Feb 16, 2013 @ 5:53pm
Showing 1-15 of 31 comments
< >
im muted 4 n0thing Feb 16, 2013 @ 6:14pm 
Taking 8% constantly the launch of the game,
Taking 120% of my cpu, when loading map in severs,
taking 80% of my cpu in menu, when i leave the servers. :'(
Last edited by im muted 4 n0thing; Feb 16, 2013 @ 6:21pm
[Linux] unbridledExüberance Feb 16, 2013 @ 6:40pm 
If you're running a game, you should expect the CPU not to be idle. You're running a game- why WOULDN'T there be tons of CPU wakeups?
im muted 4 n0thing Feb 16, 2013 @ 6:53pm 
Because i'm on i7.
New screenshot, leaving the game
http://i.imgur.com/WzCE8mF.png

I was at 200% of my cpu, sad i didn had the time to take the screenshot :o

my opinion is your game take all the gpu charges into my cpu, look like btw.
Last edited by im muted 4 n0thing; Feb 16, 2013 @ 6:57pm
[Linux] unbridledExüberance Feb 16, 2013 @ 7:01pm 
Averaging 50% per CPU isn't that bad. If you really want to, you could use power saving utilities to bump that down until the CPU can't keep up with the GPU, but I don't know why you would actually want to do that.

I'm not really sure what you're concerned about. Is it the power usage or are you worried about overheating? I can assure you that overheating is definitely not a problem here, and most of the power usage will come from your GPU, not your CPU.
im muted 4 n0thing Feb 16, 2013 @ 7:04pm 
i'm using intel i7 2600k with a gtx 570, my cpu have no reason to go out of 20%
If you don't see the problem with having a cpu at 200% in teamfortress 2 is your problem.
Last edited by im muted 4 n0thing; Feb 16, 2013 @ 7:25pm
[Linux] unbridledExüberance Feb 16, 2013 @ 7:25pm 
Are you sure Windows wasn't showing you the average usage per CPU rather than total usage. I find it hard to believe that you're averaging 2% to 4% usage per core running a game. Back when I was using Windows, it used more than that just idling.

If you don't want your CPU to ever use more than 20% of it's speed... why do you even have a fast CPU if you don't want anything using it? I just don't understand what the problem is- all you've said is that it's using more CPU usage than you want. Why does that matter? It's not slowing anything down because it's still sleeping half the time. You could have 2 instances of the game running at once, and the CPU would still have time to sleep (though your GPU wouldn't be too happy).

Besides, there are a lot of factors that affect CPU usage, not just your clock speed.

For example, if you have a CPU that doesn't have good caching, your computer will be much slower, but you will actually have a /LOWER/ CPU usage than a better CPU would. How can that be? Because the CPU has to access memory more often because it has a smaller cache, so it has to sleep and wait for the memory to get there before it can continue.

Just because you have a good CPU doesn't mean the CPU usage should be lower.


Also, in your example you said that Battlefield 3 ran at 10%/17% will full settings. Full graphics settings will actually (potentially) LOWER your CPU usage, not increase it. The graphics are almost entirely handled by the GPU, not the CPU. At max settings, your CPU will be sleeping more while it waits for the GPU.
Last edited by [Linux] unbridledExüberance; Feb 16, 2013 @ 7:27pm
im muted 4 n0thing Feb 16, 2013 @ 7:32pm 
Gpu was created for take the graphic usage out of the cpu, there is no reason for i7 to exeed 200% in a TF2, its only tf2 dude..
my cpu tech : http://ark.intel.com/products/52214/Intel-Core-i7-2600K-Processor-8M-Cache-up-to-3_80-GHz

If tf2 take 200%, what gonna happen in a more sophistical game.
Last edited by im muted 4 n0thing; Feb 16, 2013 @ 7:40pm
[Linux] unbridledExüberance Feb 16, 2013 @ 7:52pm 
i7 gets its speed not from it's clock speed (2.6 GHz isn't all that fast for gaming computers EDIT: oh, you have 3.4 GHz. Nevermind. My point still stands, though), but from lots of various optimizations in other areas. Some of these things that make the CPU faster will actually increase your CPU usage. In fact, this is common.

In particular, pipelining is a HUGE factor in how good your CPU is and is one of the leading areas of research in improving CPU speed. Good pipelining means that your CPU can keep on processing commands that take more than one CPU cycle, but start one of these each CPU cycle so it appears as though these big commands are only using 1 CPU cycle. Now, if you have a CPU that has bad pipelining, your CPU will sleep a lot so you will have low CPU usage, but poor performance. If your CPU pipelines well, it will have good performance, but a higher CPU usage because its actually being used instead of waiting, which is a good thing.

The problem here is that you are under the (understandable) belief that a good CPU implies low CPU usage, but unfortunately it's not that simple. If you want low CPU usage, get a bad CPU with a fast clock speed.


If you have different CPU usages on the same computer, but with a different operating system, the one with the lower CPU usage might not actually be better. Low CPU usage could be a good thing, meaning it's not running lots of unnecessary tasks. On the other hand, it could be a bad thing: if the system libraries that comes with the OS have lots of memory operations, this creates a bottleneck where the CPU is forced to wait for memory to become available.
So you can't really tell which is better or worse just based on CPU usage because the metric means so little with modern computers where optimization deals mostly with arranging things such that the CPU doesn't have to wait as much.

It's possible that the game is running worse on Linux, but it's also possible it's actually running more efficiently. There's no way to tell which is the case based solely on CPU usage.
Last edited by [Linux] unbridledExüberance; Feb 16, 2013 @ 7:54pm
im muted 4 n0thing Feb 16, 2013 @ 7:58pm 
ok tf2 80% of my cpu capacities, because my cpu do well ? hahaha, no the game do bad, this is the difference
tf2 80% in menu, i launch firefox, go to youtube, flash actives, im already at 100%, you find that normal ?

2 program and i'm out , its what you'r trying to say ?

if that is your " more efficiently ", would be great if linux gaming never happens.

And the funny thing is i'm only at 15/30 fps.

i'm not in comodore
Last edited by im muted 4 n0thing; Feb 16, 2013 @ 8:05pm
[Linux] unbridledExüberance Feb 16, 2013 @ 8:05pm 
You don't seem to really understand how a CPU works, which is okay because I admit it DOES sound counterintuitive to someone who isn't a Computer Science student, but the fact is that you're looking for a problem where none exists based on a fallacious idea about the relationship between CPU usage and game requirements.

If you are actually experiencing slowdowns, then I will try to help you figure out what the problem is, but if the only problem is that you are seeing a number on the screen that you don't like, there's nothing I can do to help.

If you legitimately believe there are actually slowdowns, you can try upgrading your Linux kernel to a newer version. I would recommend you get the Linux 3.5 kernel if you don't already have it. (I know 12.04 comes with the 3.2 kernel, but I'm not sure about the latest Ubuntu release)
im muted 4 n0thing Feb 16, 2013 @ 8:11pm 
Lol ofcourse the game is not runnign smooth with a cpu taken at 200% for 15 fps
i don't call it " efficiently " im sorry to say.
Why you can't admit the game do bad ?..

I'm already on the lastest

3.5.17
Last edited by im muted 4 n0thing; Feb 16, 2013 @ 8:11pm
[Linux] unbridledExüberance Feb 16, 2013 @ 8:16pm 
Okay, if you're experiencing FPS issues, but your CPU isn't at 100% on at least one processor (looking at your screenshot, they seem to be capping at only 60%), the problem is either memory or GPU: almost certainly the GPU.

What version of the graphics driver are you currently using?
im muted 4 n0thing Feb 16, 2013 @ 8:17pm 
ofc, its a multicore
add 60+60+60+60

Cpu1,2,3,4 is physical, 5,6,7,8 is virtual, its the hyperthreading in intel.

i'am maybe taking the cpu usage in linux badly, but using 50% in all cpu just for tf2 in i7 would never happen in windows.
And you know that aeros use more and more usage in the computer.

my drivers is 310.14
Last edited by im muted 4 n0thing; Feb 16, 2013 @ 8:29pm
[Linux] unbridledExüberance Feb 16, 2013 @ 8:36pm 
I meant, if 1 CPU is using 100%, not all of them combined (eg. if you had 100 + 40 + 30 + 30 or something, there could be a problem since one thread of the process can't keep up)

310 should be fine, but it is in Beta and so is considered experimental. You could try switching to the latest stable version to see if that has any improvement.

Another possibility is that maybe your window manager (I haven't used Muffin, so I'm not sure) is enforcing vsync in a way that is redundant with the program, causing the program to miss every other buffer swap and get half framerate (30 fps assuming you have a 60 Hz monitor). Try disabling vertical sync (might just be called vsync) and see if that makes a difference.

If that makes no difference, can you post the ouput of the following command:
xrandr

In rare cases, X11 (the thing that handles the graphics) gets incorrect information about the monitor which can cause tearing or a reducing in framerate. xrandr will tell us what X thinks your monitor is.
Last edited by [Linux] unbridledExüberance; Feb 16, 2013 @ 8:38pm
gutigen o) Feb 16, 2013 @ 9:29pm 
Kudos for mr.exuberant for patience in face of arrogant stupidity, Linux community ftw :)
Showing 1-15 of 31 comments
< >
Per page: 15 30 50
Date Posted: Feb 16, 2013 @ 5:23pm
Posts: 31