|
Maybe.. but just to be sure, get to see the (live) multiplier. Core Temp can do that, or CPU-Z, and there are many other utilities for that.
It seems like far too big a difference for Turbo Boost.
|
|
|
|
|
Here you have a screenshot[^].
I have pasted together two different readings. The one on the left is the 'no sweat mode'. At 1024 x 768 both the CPU and GPU are almost bored. Not bad, considering that the computer is running the database, the webservice and a client with a 3D engine and a UI at the same time. And the CubeMap for the background has 'only' 25 MB, which would have knocked older GPUs out of the socket.
The one to the right was taken when the temperature of core 0 went up. It really looks like it had been throttled down to deliver just the needed performance, as if this Turbo Boost had a brother to do the opposite: Save power and let the CPU cool down.
At least artificial intelligence already is superior to natural stupidity
|
|
|
|
|
There is a mechanism that throttles a CPU down when it gets hot, but 47C isn't even warm. The maximum advised temp for an i7 is 80C, you're not there yet by a long shot. And at 80C it doesn't even begin throttling yet, that's (reportedly) somewhere in the low 90's.
Of course the Turbo will come off at high temperatures (also not at 47C), but that just means it's going back to the normal multiplier down from the increased one. That's not that big a jump - not even 50%, certainly not 93% (corresponds roughly to the 16x difference in utilization).
TL;DR - this makes no sense.
|
|
|
|
|
It must make some sense since another machine (also with an i7) showed exactly the same behavior while a notebook with a slower i5 and some onboard graphics did not. The i5 just kept going in a fairly constant manner.
The other thing that seems interesting is that it appears as if something is trying to let the CPU run exactly at the required level, no more or less. It also seems to adapt very quickly when there is a sudden demand for more. The UI thread gets more active as soon as I start clicking buttons. The webservice is called for data, views are opened, controls are initialized and styles are loaded. A lot of more activity on the CPU, yet there is no noticable delay or additional roughness in the animations.
The profiles also show this. The rendering thread pushes its data to the GPU and then sleeps until the next frame when the CPU runs normally. As soon as it goes into this 100% mode, the synchronization is almost too short to be seen. As if something had estimated exactly how fast the CPU had to be to make a spot landing. The framerate drops a little, but I think that once in a while the CPU simply does not make it in time and misses a frame. Still, this does not change when the CPU gets more to do.
This would probably be ok, but why does the scheduler let most threads run on CPU 0? And how can I persuade it to make more use of the other cores?
Edit: Aha! This[^] already sheds some light on the whole thing! Indeed the Turbo Boost or the thermal shutdown appear to be only part of the functionality. It is a power saving and heat reducing mechanism, just as I suspected. It makes sense, but is also a little in the way when measuring performance.
At least artificial intelligence already is superior to natural stupidity
modified 29-May-12 15:30pm.
|
|
|
|
|
Right there's also SpeedStep and its descendants, but it doesn't change the performance by 16 times either so that still doesn't explain how 6% goes to 100%, does it?
|
|
|
|
|
Just looking into it, but there is lots of talk from people who have failed or succeeded at overclocking the CPU and only little details. You are right, it does not appear as if it could keep the CPU so constantly at 100%. Still, it's the best candidate so far. With the CPU used so little it could indeed decide to go to its lowest setting.
At least artificial intelligence already is superior to natural stupidity
|
|
|
|
|
So, just in case this isn't caused my hardware but by software, why don't you go check how the multiplier changes when it goes into "100% mode"?
|
|
|
|
|
I will, but it must wait until tomorrow. Disabling Speedstep in the BIOS changed nothing. It still switches when core 0 reaches 46 degrees and switches back when the temperature falls back below that mark. Very interesting. And thanks for your replies.
At least artificial intelligence already is superior to natural stupidity
|
|
|
|
|
Could you accidentally have set your OS's cooling policy to passive? It would do something like that.
edit: now that I think about it, a performance difference of 16x still seems rather extreme.
|
|
|
|
|
I will take a look. Thanks!
Edit: Nope, it's set to active. I don't think I ever changed it.
At least artificial intelligence already is superior to natural stupidity
modified 29-May-12 17:31pm.
|
|
|
|
|
I am currently developing an application on Windows XPe that requires the XPe host to run a RAS server that uses a serial modem.
When XPe starts the RAS server fails to start correctly up to 50% of the time.
The log file "ModemLog_Communications cable between two computers" reads the following when the RAS server fails to come up:
05-24-2012 15:58:53.421 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600
05-24-2012 15:58:53.421 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
05-24-2012 15:58:53.421 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
05-24-2012 15:58:53.421 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
05-24-2012 15:58:53.437 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
05-24-2012 15:58:53.437 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
05-24-2012 15:58:53.437 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
05-24-2012 15:58:53.437 - Modem type: Communications cable between two computers
05-24-2012 15:58:53.437 - Modem inf path: mdmhayes.inf
05-24-2012 15:58:53.437 - Modem inf section: M2700
05-24-2012 15:58:53.437 - Matching hardware ID: pnpc031
05-24-2012 15:58:53.437 - Opening the modem device failed with error 00000005
And the following when successful.
05-24-2012 16:51:00.531 - File: C:\WINDOWS\system32\tapisrv.dll, Version 5.1.2600
05-24-2012 16:51:00.531 - File: C:\WINDOWS\system32\unimdm.tsp, Version 5.1.2600
05-24-2012 16:51:00.531 - File: C:\WINDOWS\system32\unimdmat.dll, Version 5.1.2600
05-24-2012 16:51:00.531 - File: C:\WINDOWS\system32\uniplat.dll, Version 5.1.2600
05-24-2012 16:51:00.546 - File: C:\WINDOWS\system32\drivers\modem.sys, Version 5.1.2600
05-24-2012 16:51:00.546 - File: C:\WINDOWS\system32\modemui.dll, Version 5.1.2600
05-24-2012 16:51:00.546 - File: C:\WINDOWS\system32\mdminst.dll, Version 5.1.2600
05-24-2012 16:51:00.546 - Modem type: Communications cable between two computers
05-24-2012 16:51:00.546 - Modem inf path: mdmhayes.inf
05-24-2012 16:51:00.546 - Modem inf section: M2700
05-24-2012 16:51:00.546 - Matching hardware ID: pnpc031
05-24-2012 16:51:00.593 - 115200,8,N,1, ctsfl=0, rtsctl=1
05-24-2012 16:51:00.593 - Initializing modem.
05-24-2012 16:51:00.593 - Waiting for a call.
How can I debug this and figure out why Windows fails to set up the modem correctly all the time?
|
|
|
|
|
Member 8002973 wrote: Opening the modem device failed with error 00000005 There's your first clue. Error 5 is "access denied". If it works sometimes, then maybe the device is open in some other process when you fail. Is there an old instance of your process hanging around? Use tools like Task Manager and some of the Sysinternals tools (handle, etc) to see what's tied up with what.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
This is at boot time so there wont be any old processes, but you could be right in that some other process is accessing the port.
==============================
Nothing to say.
|
|
|
|
|
Erudite_Eric wrote: This is at boot time Could it be that something in the driver stack hasn't got its ducks in line yet, and a delay in OP's app might help?
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Not likely because RAS as a service will boot way later than serial.sys which is in the kernel.
==============================
Nothing to say.
|
|
|
|
|
As a test I disable the startup of the App and I still observed the RAS Connection not coming up correctly on around 45% of the Windows restarts.
I suspect that it is something in the startup sequence of the driver stack that is independent of the application itself.
|
|
|
|
|
I found a tool "Advanced Windows Service Manager" and was able to determine that the Routing and Remote Access service was not starting correctly when the RAS connection doesn't work. By manually starting the service the RAS connection appears.
Now I just need to use code to enable the service on app startup.
|
|
|
|
|
Hmm, so it looks like the modem is very slow to start. What was in the event log?
By the way, you can configure services to retry their startup, this should work.
==============================
Nothing to say.
|
|
|
|
|
I didn't see it in the event log, but the XPe image is very minimal, so it might have been excluded.
I found some code on MSDN to start a service that seems to be working, just needs more testing now.
Thanks
|
|
|
|
|
AFAIK there is a fundamental problem with serial ports in Windows in that they don't close very fast; so if your app (or another one) closes a port or crashes, then it will take an arbitrary amount of time (could be up to a minute) before the port becomes available for others to use. Any earlier attempt may result in some "port already in use" or "access violation" error. And no, I don't have a reference about this. I suggest you Google to find corroboration for this.
|
|
|
|
|
This is at boot time so there wont be any old processes, but you could be right in that some other process is accessing the port.
==============================
Nothing to say.
|
|
|
|
|
I have never encountered a problem with serial ports not closing in Windows. I have had to interface to +100 different devices through serial ports, which often means opening and closing the ports many, many times during development.
Soren Madsen
|
|
|
|
|
Some approaches,
1) Something else is opening the port. SW tends to open ports (Uses CreateFile(\\\\.\\COM1 actually) in exclusive mode, since generally data needs to go to a specific program. So is there another program acessing the port at boot time?
2) The driver is failing to load/configure the port and create the device.
So in this scenario run a program called 'symbolic links' (sysinternals I believe, if not google it) it will show all the symbolic links created by drivers so you will be looking for the modem port (probably com1).
You can also check the event log, the driver should log any errors there.
What you can also do is compile a debug serial.sys (the code for it is in the DDK) and run that but you need to have firewire debugging set up. That way you can see what the driver is doing when it gets the createfile.
3) Drivers tend to return access denied for all kinds of things, but it could actually be for security reasons, so if these turn out to be OK then you probably have to look at why the access denied is generated. So, has the port been created with some special privilege? Unlikely.
==============================
Nothing to say.
|
|
|
|
|
Anybody else having a lot more problems lately following any firmware updates over the last year?
I am seeing lockups, wifi issues etc, and need to reboot evey so often (although appears to be getting more frequent).
Currently using;
Model Name : Vigor2820Vn
Firmware Version : 3.3.7.1_2471201
Build Date/Time : Feb 6 2012 16:32:10
ADSL Firmware Version : 2471201_A Hardware: Annex A
|
|
|
|
|
Hello,
I would like to know where Windows processes execution and opening of files and programs on the computer, because I'm creating a kernel-mode execution-filter driver (basically, a driver that sits back and "spys" on every program that tries to open up on my computer, before my computer actually detects it or processes it) for security purposes, and to block it or suspend it from the settings the user choose from a GUI application that manages this centrally.
Simple Thanks and Regards,
Brandon T. H.
Been programming in Visual Basic for 4 years this point forward, and is very good at it (I can even create programs completely on code, without dragging those items from the toolbox). Programming C++ for 1 year so far and the same with C#.
Many of life's failures are people who did not realize how close they were to success when they gave up. - Thomas Edison
modified 30-Apr-12 10:27am.
|
|
|
|