OK, I admit this is an old-fashioned way to make a CPU busy. When I run the following program, my Server makes roughly 10.000 loops a second, but does it not show any CPU load in task manager.
Is it not using all the CPU it can get ? Or does it use it and shows wrong values in task-manager ?
declare @counter int
set @counter=0
while 1=1
begin
set @counter= @counter +1
if @counter % 10000 = 0
print @counter
end