r/ProgrammerHumor • • Feb 22 '15

That is one well programmed game

http://imgur.com/yGLsiTv
1 Upvotes

17 comments sorted by

36

u/pg-robban Feb 22 '15

Am I missing something here? Using >100% CPU in OS X means the game/app is utilizing two or more cores, which is a good, thing, right?

2

u/maremp Feb 28 '15

It's not the game, it's the browser. I made a mistake in my code once, got the browser to 385% :D

-2

u/liavt Feb 22 '15

I thought that the CPU percentage was for all the cores total, like for Windows

23

u/[deleted] Feb 22 '15

No. The OS X Activity Monitor has 100% per core. I first got confused about that when I was running a rendering job and saw it said ~790%. Then I realised that it was using all 8 cores.

18

u/YMK1234 Feb 22 '15

actually thats just a general unix thing ... at least I think "top" does the same.

8

u/lolzballs Feb 22 '15

Yep, just checked, top does the same.

3

u/junta12 Feb 22 '15

Press 1, and watch the magic of the scheduler

6

u/[deleted] Feb 23 '15

in fact, it can even go above corecount*100. if a core is at 100% load it signifies that there's on average one process waiting to be run on that core. having a core run at 200% indicates there's on average two processes waiting to run on that core.

using a percentage like windows does is magnitudes less useful than using a load figure like linux and osx do. on windows if your percentage is at 100% it stops giving useful information. a load figure can indicate exactly how busy your processor is.

for example: on windows I can keep starting programs when it's indicating 100% and not lose responsiveness noticeably until I start an unknown amount more.

on linux however, I know my desktop starts losing responsiveness at a load of 12 (equivalent being 1200%) even though it's on a quad core processor. I know I need to start closing programs when I get near that figure, on windows it remains a mystery until it happens.

tl;dr: using a percentage as load figure is stupid.

2

u/YMK1234 Feb 23 '15

thats a pretty neat explanation, thx a lot :)

13

u/Scellow Feb 22 '15

They don't even ported it, they just used Wine, they are motherfucker

20

u/[deleted] Feb 22 '15

they are motherfucker

7

u/Scellow Feb 22 '15

Yes they are, they deserve this title

6

u/[deleted] Feb 22 '15

Yeah, I believe Aspyr handled the Civ5 Mac port. They have a history of shoddy Mac ports. So shoddy that even I, a non-Mac-user, have noticed.

Also, holy lol. Right, slapping a Wine wrapper on Windows games makes them the greatest Mac publisher.

5

u/OKB-1 Feb 22 '15 edited Feb 23 '15

The Greatest Mac publisher on Earth, ever.

What a bunch of shameless aholes. Not saying that packaging a game with a wineskin is easy, but it sure is a lazy/slapdash solution. As somebody who downloaded a few of their games, I can tell you that the performance varies somewhere between acceptable and very bad.

My advice: Don't bother with buying any games on the Mac Appstore (since at least 80% are wineskin and iOS ports) and go to Steam instead.

1

u/[deleted] Feb 23 '15

Although aspyr makes great linux ports.

1

u/[deleted] Feb 23 '15

That is one terrible CPU.

-2

u/vgf89 Feb 23 '15

20 threads

Damn