C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 07-02-2009, 08:25 PM   #1
"Why use dynamic memory?"
 
Join Date: Aug 2006
Posts: 179
what the hell is that ??

is this something normal?? I do not think so??

Imageshack - wit1

and when i try to terminate it i get this

Imageshack - wit2

is that some kind of virus activity or trojan or worm?
__________________
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
OS: Microsoft XP Media Center
IDE: Microsoft Visual Studio 2005 pro edition
Current Porject: Developing a 2D card game...
Hussain Hani is offline   Reply With Quote
Old 07-02-2009, 08:26 PM   #2
Sweet
 
Join Date: Aug 2002
Location: Tucson, Arizona
Posts: 1,678
Is this a joke?
__________________
Woop?
prog-bman is offline   Reply With Quote
Old 07-02-2009, 08:59 PM   #3
and the hat of sweating
 
Join Date: Aug 2007
Location: Toronto, ON
Posts: 3,122
If you really want to stop the "Idle Process" from using up all your CPU, just run some very CPU intensive programs.
__________________
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
cpjust is offline   Reply With Quote
Old 07-02-2009, 09:09 PM   #4
Guest
 
Sebastiani's Avatar
 
Join Date: Aug 2001
Posts: 4,923
>> If you really want to stop the "Idle Process" from using up all your CPU, just run some very CPU intensive programs.

Sebastiani is offline   Reply With Quote
Old 07-02-2009, 09:12 PM   #5
(?<!re)tired
 
Mario F.'s Avatar
 
Join Date: May 2006
Location: Portugal
Posts: 5,220
I'm just curious as to why it is reporting 28k memory usage.
__________________
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.


Mario F. is offline   Reply With Quote
Old 07-02-2009, 09:23 PM   #6
and the hat of sweating
 
Join Date: Aug 2007
Location: Toronto, ON
Posts: 3,122
Quote:
Originally Posted by Mario F. View Post
I'm just curious as to why it is reporting 28k memory usage.
What should it say?

Mine is 24K, so I guess they made it 4K smaller on Vista, or maybe it's 4K smaller because is x64?
__________________
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
cpjust is offline   Reply With Quote
Old 07-02-2009, 09:29 PM   #7
(?<!re)tired
 
Mario F.'s Avatar
 
Join Date: May 2006
Location: Portugal
Posts: 5,220
Ah, x64. Wasn't thinking about that.
He's clearly using XP, and I'd assumed this would always be 16k. So maybe it's the processor being a x64.
__________________
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.


Mario F. is offline   Reply With Quote
Old 07-03-2009, 04:38 AM   #8
"Why use dynamic memory?"
 
Join Date: Aug 2006
Posts: 179
run CPU intensive programs??
what if i dont want to or just want to cancel it!!!
__________________
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
OS: Microsoft XP Media Center
IDE: Microsoft Visual Studio 2005 pro edition
Current Porject: Developing a 2D card game...
Hussain Hani is offline   Reply With Quote
Old 07-03-2009, 05:36 AM   #9
and the hat of copycat
 
stevesmithx's Avatar
 
Join Date: Sep 2007
Posts: 393
Quote:
Originally Posted by Hussain Hani View Post
is this something normal?? I do not think so??

Imageshack - wit1

and when i try to terminate it i get this

Imageshack - wit2

is that some kind of virus activity or trojan or worm?
Not to worry it's neither a virus nor a worm.

Idle => not in action or work

System idle process simply denotes the CPU not doing any work. So if more the CPU consumed by it, the less the work is done by the CPU. So if you run any other CPU intensive process, the System is not idle anymore and hence it gets lower.
If you study about operating systems you'll come across these things in chapters related to Scheduling and stuff.
System Idle Process - Wikipedia, the free encyclopedia
__________________
Not everything that can be counted counts, and not everything that counts can be counted
- Albert Einstein.

Last edited by stevesmithx; 07-03-2009 at 05:53 AM. Reason: typo
stevesmithx is offline   Reply With Quote
Old 07-03-2009, 09:31 AM   #10
Reverse Engineer
 
maxorator's Avatar
 
Join Date: Aug 2005
Location: Estonia
Posts: 2,236
I take it it's the first time he ever opened Task Manager...

By the way, on my XP SP3 (32bit OS & processor) it also shows 28k.
__________________
The duck is irrelevant to my point.
maxorator is offline   Reply With Quote
Old 07-03-2009, 09:37 AM   #11
(?<!re)tired
 
Mario F.'s Avatar
 
Join Date: May 2006
Location: Portugal
Posts: 5,220
Quote:
Originally Posted by maxorator View Post
By the way, on my XP SP3 (32bit OS & processor) it also shows 28k.
Ok, I'll officially hijack the thread.

What exactly determines the size of this process?

It's not hyperthreading either, since I have it on my processor (where 16k is reported). It can't be cores, since the math doesn't add up. I have 2 cores, so two idle threads. Just curiosity, but anyone knows?
__________________
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.


Mario F. is offline   Reply With Quote
Old 07-03-2009, 09:43 AM   #12
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
It takes a surprising amount of memory to run just 2 instructions
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline   Reply With Quote
Old 07-03-2009, 03:05 PM   #13
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,439
The idle process actually does stuff sometimes, like zeroing out physical memory.
__________________
All the buzzt!
CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
CornedBee is offline   Reply With Quote
Old 07-03-2009, 06:02 PM   #14
Unregistered User
 
Yarin's Avatar
 
Join Date: Jul 2007
Posts: 925
You'd think the word "Idle" gives enough information on the matter.

It's only using 16K on this 2000 system. Maybe the CPU make or model has something to do with it.
Or, *maybe*, if it does zero out memory, it could be the amount of active RAM?
__________________
GCC 4.4.0, Code::Blocks 8.02, Fedora 11, x64
Yarin is offline   Reply With Quote
Old 07-04-2009, 04:21 AM   #15
Reverse Engineer
 
maxorator's Avatar
 
Join Date: Aug 2005
Location: Estonia
Posts: 2,236
Quote:
Originally Posted by Salem View Post
It takes a surprising amount of memory to run just 2 instructions
What is the second one?
__________________
The duck is irrelevant to my point.
maxorator is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What the hell!? Crashes and memory leaks? pobri19 C++ Programming 3 09-26-2008 05:45 AM
operator from hell algi A Brief History of Cprogramming.com 16 12-24-2004 07:36 AM
DLL Hell Sentaku senshi Windows Programming 9 11-21-2002 08:06 AM
Living in the 00'S mithrandir A Brief History of Cprogramming.com 3 01-21-2002 09:31 AM
Heaven, Hell, and Aetheists/Non-believers Aran A Brief History of Cprogramming.com 34 09-10-2001 02:18 PM


All times are GMT -6. The time now is 01:48 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22