View Single Post
Old 01-15-2008   #6 (permalink)
mkek
Guest


 
 

Re: Windows Vista Ultimate x64 slower then syrup on a cold day-Hel

High CPU utilization in csrss.exe could be caused be running simple programs
doing console output.
This situation could be true, if MS ProcessExplorer, Properties of
csrss.exe, Threads will show a high usage of the
csrss.exe!CsrValidateMessageString function.

////
if somebody wants to reproduce this on Windows 2K/XP/vista/2008:
Download Visual Studio 2005 Express (or use an existing C compiler on the
system). Write hello2.c with the following content. Compile (cl.exe /O2
hello2.c) and run. The CPU utilization will grow between 25 und 80 % in
csrss.exe.

// start of hello2.c
#include <stdio.h>
main()
{
while (0 == 0)
printf("Hello World - this causes high CPU util. in
CsrValidateMessagString of csrss.exe\n");
return 0; // never reached, program must be stopped with ctrl-C or close
window
}
// end of hello2.c

////
Programs with console output could be used in CGI scripting, for exaple to
generate large tables. In this case it is wise to migrate to LINUX+apache.

My System SpecsSystem Spec