USB Temperature

The forum for non-component-related silent pc discussions.

Moderators: NeilBlanchard, Ralf Hutter, sthayashi, Lawrence Lee

Post Reply
Denorios
Posts: 223
Joined: Sun Jul 25, 2004 3:24 am
Location: Derbyshire, England

USB Temperature

Post by Denorios » Fri Aug 13, 2004 4:21 pm

I don't know whether there just something odd about my computer, but adding and removing USB devices seems to have a marked effect on the CPU temperature. I just removed my 128MB flash stick, and the temperature dropped 5C fairly sharply. I plugged it in again and the temperature spiked back up. I'm not even transferring data, it's just plugged in :shock:

Has anyone had a similar experience? Does anyone know why this effect is so pronounced? :?

acaurora
*Lifetime Patron*
Posts: 1464
Joined: Mon Dec 29, 2003 2:51 am
Location: Elk Grove, CA
Contact:

Post by acaurora » Fri Aug 13, 2004 10:53 pm

Resources are used to maintain the connection. However I am surprised that the CPU temperature rises. For me, rather, it is the device. For example, I have a Sandisk Titanium 512 MB Flash Drive (uber fast), and it gets a little warm, even after plugging it in and not doign anything.

dukla2000
*Lifetime Patron*
Posts: 1465
Joined: Sun Mar 09, 2003 12:27 pm
Location: Reading.England.EU

Post by dukla2000 » Sat Aug 14, 2004 12:09 am

The most plausible explanation I have is that
1) Nomally the CPU at idle is entering some HLT (or even STPGNT) state
2) The USB disk driver uses a loop (rather than interrupts) to monitor the device once it is inserted, and that loop is tight enough to prevent the 'usual' benefit ffrom HLTs.

Denorios
Posts: 223
Joined: Sun Jul 25, 2004 3:24 am
Location: Derbyshire, England

USB CPU effects

Post by Denorios » Sat Aug 14, 2004 2:35 am

Trouble is, I'm running CPUIdle on the advanced cooling setting, so the USB can't be disrupting the HLT state that much, can it? :?

The effect is more pronounced with USB 2.0 devices than with USB 1.1

Denorios
Posts: 223
Joined: Sun Jul 25, 2004 3:24 am
Location: Derbyshire, England

USB Heat

Post by Denorios » Sat Aug 14, 2004 2:53 am

Just tried it again. When I put the stick in, the CPU climbed from a stable Idle of 41C to 47C in just over a minute :shock:

I'm going to see what the delta is when CPUIdle isn't running.

Denorios
Posts: 223
Joined: Sun Jul 25, 2004 3:24 am
Location: Derbyshire, England

USB Heat

Post by Denorios » Sat Aug 14, 2004 3:30 am

Look's like you're right, dukla. :) When I disabled CPUIdle and let the temperature stabilise, inserting and removing the memory stick had no effect on the temperature at all. However, when running, CPUIdle is showing 99% idle. :?

Bugger. How irritating. :twisted: I wouldn't have thought that the serial bus needed that much monitoring - after all, the IDE interface doesn't.

Wraith
Posts: 139
Joined: Sat Dec 27, 2003 1:57 pm
Location: Minnesota

Post by Wraith » Sat Aug 14, 2004 8:54 am

Has anyone had a similar experience?
Yes. We recently got a USB2 scanner, Canon 3200F I believe. Plugging in the USB made CPU temps rise. 5C or better, I'd guess. Even though I wasn't scanning, and it isn't one of the scanners that's powered through USB.

I don't run CPUIdle. Just running MBM5 and TrendMicro Internet Security.

dukla2000
*Lifetime Patron*
Posts: 1465
Joined: Sun Mar 09, 2003 12:27 pm
Location: Reading.England.EU

Re: USB Heat

Post by dukla2000 » Sat Aug 14, 2004 1:29 pm

Denorios wrote:Look's like you're right, dukla. :)
Not again :oops:
Denorios wrote:I wouldn't have thought that the serial bus needed that much monitoring - after all, the IDE interface doesn't.
I haven't noticed the temp effect, but with a new 2.5" drive in a USB 2 external box I am noticing all kinds of other interesting things. Like under Linux about 20 processes are spawned when I plug the thing in. And on some machines USB 2 ports run at USB 1 speed because of IRQ problems, and also can run at USB 1 speed because of other USB peripherals plugged into the same controller.

All in all it seems to me USB delivers plug n play, but in general includes some really sloppy coding/cludges/compromises to get there. When I was a younger and worked on real machines ALL devices spoke to the CPU via interrupts, and the particular systems I worked on allowed for 4 * 256 hardware IRQs!! The basic PC limitation is the Intel 86 architecture is stack based as opposed to (hardware) interrupt orientated. And yes, again in my old days, people did software interrupts: they were measured in milliseconds compared to hardware interrupts in nanoseconds. My conclusion is that USB is delivering a software solution to what is an architectural hardware limitation.

kesv
Posts: 300
Joined: Fri Nov 07, 2003 8:44 am

Re: USB Heat

Post by kesv » Sun Aug 15, 2004 12:46 am

dukla2000 wrote:My conclusion is that USB is delivering a software solution to what is an architectural hardware limitation.
A plausible conclusion. As I understand it, USB is a design with 'dumb' hardware i.e. it needs quite a bit of software to work. Apparently this is what separates it from Firewire for example.
Kind of like hardware- vs. software-modems.

Ducky
Posts: 86
Joined: Fri Jan 17, 2003 8:22 pm
Location: Plano, TX

Re: USB Heat

Post by Ducky » Sun Aug 15, 2004 7:45 am

kesv wrote:
dukla2000 wrote:My conclusion is that USB is delivering a software solution to what is an architectural hardware limitation.
A plausible conclusion. As I understand it, USB is a design with 'dumb' hardware i.e. it needs quite a bit of software to work. Apparently this is what separates it from Firewire for example.
Kind of like hardware- vs. software-modems.
Correct! USB requires software to do the actual negotiation and data transfers -- the only reason Intel pushes for USB is because it's:

1. Cheap to make.
2. Requires more CPU cycles to work, which would make people upgrade their computers more often.

That's one of the reasons why I almost always recommend people use Firewire devices instead of USB, but nobody believes me... :(

josephclemente
Posts: 580
Joined: Sun Aug 11, 2002 3:26 pm
Location: USA (Phoenix, AZ)

Post by josephclemente » Sun Aug 15, 2004 10:41 am

I wonder if a USB mouse or keyboard is heating up our computers as well... I'll have to try unplugging some stuff...

Post Reply