Click here to Skip to main content
15,914,780 members
Home / Discussions / System Admin
   

System Admin

 
QuestionVBScript! Removing COM1 from Device Manager Pin
CemUney1-Oct-06 21:30
CemUney1-Oct-06 21:30 
AnswerRe: VBScript! Removing COM1 from Device Manager Pin
Dave Kreskowiak2-Oct-06 5:56
mveDave Kreskowiak2-Oct-06 5:56 
QuestionUse all filter in event viewer Pin
Mekong River1-Oct-06 15:15
Mekong River1-Oct-06 15:15 
QuestionWhich API I can use to get the workgroup name Pin
jsongrts28-Sep-06 13:48
jsongrts28-Sep-06 13:48 
AnswerRe: Which API I can use to get the workgroup name Pin
Dave Kreskowiak29-Sep-06 10:19
mveDave Kreskowiak29-Sep-06 10:19 
QuestionConnection works in one way Pin
hint_5428-Sep-06 8:32
hint_5428-Sep-06 8:32 
AnswerRe: Connection works in one way Pin
Mekong River30-Sep-06 17:02
Mekong River30-Sep-06 17:02 
QuestionXP Task Manager & Threads Pin
barryrp28-Sep-06 4:47
barryrp28-Sep-06 4:47 
Not sure which discussion board to use, but here goes . .

I've written a small app (Win32 Console App) using Visual C, which is simply a number cruncher.

It has to run through some hairy maths to fill several 256*256*256 arrays of 6 byte elements.

Took many hours to run just one so since I have a dual-processor PC I thought of using threads.

The app is purely memory intensive so the improvement was huge.
Also nice to see the Task manager showing 100% CPU usage instead of the usual 50%.

My question relates to the task manager. Why does it show memory used as just over 100Mb ? With 2 threads running they each malloc 256*256*256*6 bytes so the total for the Process should be tice that.

The memory allocation (calloc) is done within the subroutine which I pass to _beginthread.

Any comments welcome.


Barry
AnswerRe: XP Task Manager & Threads Pin
Dan Neely28-Sep-06 5:14
Dan Neely28-Sep-06 5:14 
GeneralRe: XP Task Manager & Threads Pin
barryrp28-Sep-06 5:20
barryrp28-Sep-06 5:20 
GeneralRe: XP Task Manager & Threads Pin
barryrp28-Sep-06 5:31
barryrp28-Sep-06 5:31 
AnswerRe: XP Task Manager & Threads Pin
Mike Dimmick28-Sep-06 5:29
Mike Dimmick28-Sep-06 5:29 
GeneralRe: XP Task Manager & Threads Pin
barryrp28-Sep-06 5:37
barryrp28-Sep-06 5:37 
GeneralRe: XP Task Manager & Threads Pin
Daniel Grunwald21-Oct-06 2:40
Daniel Grunwald21-Oct-06 2:40 
QuestionMy first DDoS attack! Pin
Luca Leonardo Scorcia28-Sep-06 2:04
professionalLuca Leonardo Scorcia28-Sep-06 2:04 
AnswerRe: My first DDoS attack! Pin
Dave Kreskowiak28-Sep-06 5:28
mveDave Kreskowiak28-Sep-06 5:28 
QuestionOpen port Pin
Jijo BP28-Sep-06 1:08
Jijo BP28-Sep-06 1:08 
AnswerRe: Open port Pin
Dave Kreskowiak28-Sep-06 5:26
mveDave Kreskowiak28-Sep-06 5:26 
AnswerRe: Open port Pin
S Douglas16-Oct-06 0:54
professionalS Douglas16-Oct-06 0:54 
QuestionApplication footprint in Memory? Pin
Garth T28-Sep-06 0:05
Garth T28-Sep-06 0:05 
AnswerRe: Application footprint in Memory? Pin
Dave Kreskowiak28-Sep-06 5:23
mveDave Kreskowiak28-Sep-06 5:23 
GeneralRe: Application footprint in Memory? Pin
Garth T28-Sep-06 21:16
Garth T28-Sep-06 21:16 
GeneralRe: Application footprint in Memory? Pin
Dave Kreskowiak29-Sep-06 1:29
mveDave Kreskowiak29-Sep-06 1:29 
QuestionSQL Server open port Pin
happyheartcs27-Sep-06 2:29
happyheartcs27-Sep-06 2:29 
AnswerRe: SQL Server open port Pin
Mike Dimmick27-Sep-06 3:14
Mike Dimmick27-Sep-06 3:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.