Saturday, January 31, 2015

Diagnosing CPU Thermal Throttling

Computer processors are designed to run under specific environmental conditions, including temperature. With an Intel processor, the responsibility for ensuring a processor does not overheat is split between the motherboard and the CPU, and the motherboard constantly monitors CPU temperature by way of a temperature sensor next to the CPU, and alerts the CPU if that temperature exceeds certain threshhold. This is known as a PROCHOT signal. The CPU receives the PROCHOT signal from the motherboard and immediately drops down to it's lowest multiplier. This reduces the speed of the CPU, causing it run cooler. With an AMD processor, this is all handled by the motherboard, which forces a lower clock on the CPU.
It may not be apparent that your processor is having overheating problems. As mentioned above, the system is always ready to compensate by slowing down the CPU. If you don't perform many processor-intensive tasks, it may not be noticeable. The reason is that once the processor cools down, throttling turns off until the processor is put under stress again.
Where it becomes noticeable is when CPU-intensive programs are run. For most people, this means Netflix. However it could be any HD video playback including YouTube HD and Blu-ray. It could also occur when running distributed computing clients like Folding@Home, doing video editing, or playing 3D games.
In a nutshell, a properly built and working computer should have a CPU that is capable of handling any load thrown at it without overheating and/or triggering the PROCHOT signal from the motherboard. Don't let anyone tell you otherwise.
If you suspect thermal throttling, there are two programs that can be used to test this on Windows. First, you need a program that will push your CPU to the max, like Prime95. Second, you need a program that will display CPU speed in real-time and allow you to block the PROCHOT signal temporarily for testing purposes, like ThrottleStop. It would also be helpful to search online and find the maximum temperature listed for the processor.
Before running tests, go into the Control and into Power Options, which may be in the Hardware category. Drop down the list of extra power modes and choose High Performance. This will ensure that Windows isn't the one bringing down your processor speed. If this is a laptop, make sure it is plugged in.
Run Prime95 and choose Stress Testing, and choose the test that is listed as generating maximum heat (sometimes they change around which test is good for what between versions). Once the test is running, open ThrottleStop. At the top right of the main ThrottleStop window, the processor speed will be given, as well as the multiplier and frequency. The processor speed should not drop lower than 10% of the rated speed for the processor. It may go over if the processor supports Turbo Boost. The processor model and type are also listed so you can search online to find out what the rated speed is if you aren't sure.
If the processor dips farther than 10% below the rated speed you likely have thermal throttling. To be certain, uncheck the box that says "BD PROCHOT". IMPORTANT: ONLY LEAVE THIS BOX UNCHECKED LONG ENOUGH TO OBSERVE WHETHER IT SOLVES THE PROBLEM, THEN TURN IT BACK ON. Unchecking this box basically "muzzles" the motherboard PROCHOT signal and leaves the CPU blind as to how hot it is running. Any overheating can potentially damage the CPU and/or motherboard, so this is all at your own risk.
(If you have an AMD processor, you won't have the capability to disable this. You'll have to diagnose based on throttling patterns alone.)
Assuming that disabling the PROCHOT signal solves the problem, you need to correct the issue(s) causing the processor to overheat. Consider the CPU fan and heatsink, as well as the case fans. If the room the computer is in is uncomfortably hot that might also be an issue. But probably the most common culprit would be dust bunnies inside the computer. You'll need to blow out the internals with air.
If you've eliminated dust as the issue and the problem remains, consider case temperature, unless it is a laptop. Any desktop computer should have these fans: a fan on the CPU heatsink, a fan on the back of the case, and the fan inside the power supply. Are the fans fighting each other, especially if you have more than these three fans?
If it's not dust and the case temperature is fine, remove the heatsink/fan from the CPU, and clean off and replace the thermal paste. Then remount the heatsink/fan.
If all of the above fails to correct the problem, consider a more robust heatsink/fan for your CPU. If you are overclocking, maybe also consider water cooling.
I should also mention that it is entirely possible that the motherboard temperature sensors are bad. If you suspect this, try a BIOS upgrade first, if available.
I know all of this because I had a problem with this on a laptop. It all started with Netflix HD movies not playing right. I went through all kinds of drivers and software and BIOS updates before realizing my problem was CPU thermal throttling. It's been a long road. The laptop is under an extended warranty and the repair tech barely understood what I was talking about. I would hazard a guess that a not insignificant number of professional PC technicians don't even really understand the issue of thermal throttling. Hopefully this post will be a help.

Wednesday, January 21, 2015

Unable to Open Secure https Sites in Internet Explorer

Solution from HERE, sans pics and with some modifications in italics:

Re-register following dll files
Click on Start button and go to Run (Press and Hold windows key + press once R key)
Copy the following one line and paste it into run box one by one and press enter
Register all the dll files as same. Don't worry about any errors that come up.

regsvr32 urlmon.dll
regsvr32 wintrust.dll
regsvr32 initpki.dll
regsvr32 dssenh.dll
regsvr32 rsaenh.dll
regsvr32 gpkcsp.dll
regsvr32 sccbase.dll
regsvr32 slbcsp.dll
regsvr32 cryptdlg.dll
regsvr32 shdocvw.dll
regsvr32 mshtml.dll
regsvr32 browseui.dll
regsvr32 jscript.dll
regsvr32 vbscript.dll
regsvr32 oleaut32.dll
regsvr32 softpub.dll
regsvr32 urlmon.dll
regsvr32 actxprxy.dll

Check Security settings under trusted sites zone in internet explorer
Open Internet explorer and click on Tools menu and go to Internet option, then expand Security tab

Tool menu >> Internet Option >> Security Tab >> Click on trusted Sites >> and then click on default level
Add Secured website as your trusted website, under security tab click on trusted sites and then Sites button will be activated click on that add button your website what do you want.
then do apply and OK to get effect the changed.

Check the Secure Sockets Layer (SSL) slate.
Open Internet explorer and click on Tools menu and go to Internet option, then choose Content tab.
Tool menu >> Internet Option >> content Tab >> Click on Clear SSL State
You will get a message that the SSL cache was cleared Successfully, click on OK

Check that Internet Explorer set as default to use all SSL states
Open Internet explorer and click on Tools menu and go to Internet option, then expand advanced tab
Tool menu >> Internet Option >> Advanced Tab >> then Under security >> all SSL and TLS boxes should be checked. (If those were not checked so please make them checked and click on OK.

Check your computer date and time.
Check your date and time because it might a possibility if date and time are not correct. Correct your date and time
Click on Start and go to control panel and find the tool name as DATE & TIME, and Set your current time

Saturday, January 17, 2015

On the Movie "God is Not Dead"

I want to go through some of the important bits of this movie, which is hard to do because it is a bit ham-fisted, with the debate scenes wildly overplayed. Also, I just cannot stomach the evangelical subculture that permeates the movie, between Christian Rock groups, Franklin Graham, and Duck Dynasty cameos.

I have a verse for the hapless student, Josh Wheaton. Proverbs 27:12 - The clever see danger and hide; but the simple go on, and suffer for it. The poor guy got warning after warning that the professor was a jerk. Even with all of that he could've dropped the class. I thought God calls Christians to peace, not conflict.

The movie comes straight out of the burgeoning conservative evangelical movement. Besides the evangelical subculture cameos listed above, the Scripture quotations are all from the ESV (English Standard Version). More formal and more conservative than even the 1984 NIV, the ESV represents a new evangelical center composed of rightward drifting classic evangelicals and the majority remains of fundamentalism. (For the record, I quote from the NRSV.)

Speaking of the Bible, I found it unfortunate that, in all of his preparation, Josh Wheaton never picked up or studied the one book that the professor recommended to the rest of the class in preparation for the debate: Why I Am Not a Christian by Bertrand Russell. Instead he is shown reading a bunch of the world religion books. Unfortunately this is a common tendency among Christians to not really examine the other side of whatever the debate is, even if it is among Christians themselves. I ran into this debating King James Onlyists.

So Josh's two main arguments are the argument from design and the argument from morality.

In the argument from design he puts forward intelligent design, admitting the big bang and leaving the question of evolution open, attributing all of these things to God. The problem is, the time scales of the events as given by fossil records and radiometric dating completely shred any concept of these events borne out of an evangelical, inerrantist view of Scripture-or borne out of the most likely views of the early church contra Epicureanism. We're not just talking about contradicting six-day creation. We're talking about the gospel itself and Christ as a Second Adam. We're talking about repetition of the argument from design throughout Scripture in ways that imply a very literal reading of Genesis 1.

As a matter fact, Christian organizations have used Intelligent Design not as a good faith answer to modern scientific evidence, but as a wedge to introduce traditional creationism. It is beyond the scope of this post to go into documenting this. However, even if conservative evangelicals held to ID in good faith, the fact remains that it is highly inconsistent with their own theology.

The argument from morality is also not so straightforward. Anyone who has taken Sociology 101 understands the concept of utilitarianism, in which morals are part of cultural development of a society in the interest of self-preservation. Only in today's highly individualistic society can people uncouple their existence from broader social norms. Morals, purpose, and meaning all find their import in sociological terms and suffer under the influence of individualism. To restore these to an individualistic society requires personal relationships to a transcendent rule giver--God.

The fact that this is A way out doesn't mean it is the answer, as squabbling Christians and dueling denominations will attest. As a matter of fact, a Christian's relationship with God prior to the Reformation and the Enlightenment was a much more corporate affair (think "church") and continued to be quite the corporate affair until American Revivalism came on the scene. Under such a corporate conception of divine relationship, culture and morals can just as easily find its footing in national identity as it can the church.

I give the movie way too much credit by discussing these points in detail. The movie was not anywhere close to being a serious apologetic work. What it was was a rally for the (evangelical) faithful, complete with "faith-affirming" cultural references, and lumping Atheists, Left Wingers, Professors, and Muslims on the bad side.