Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2523 > unrolled thread
| Started by | bob <bob@coolfone.comze.com> |
|---|---|
| First post | 2012-11-26 12:40 -0800 |
| Last post | 2013-02-05 10:12 -0800 |
| Articles | 6 — 4 participants |
Back to article view | Back to comp.programming
fan program bob <bob@coolfone.comze.com> - 2012-11-26 12:40 -0800
Re: fan program Ben Pfaff <blp@cs.stanford.edu> - 2012-11-26 12:48 -0800
Re: fan program bob <bob@coolfone.comze.com> - 2012-11-27 14:34 -0800
Re: fan program Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-11-28 03:08 +0000
Re: fan program bob <bob@coolfone.comze.com> - 2013-02-05 08:30 -0800
Re: fan program Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-02-05 10:12 -0800
| From | bob <bob@coolfone.comze.com> |
|---|---|
| Date | 2012-11-26 12:40 -0800 |
| Subject | fan program |
| Message-ID | <87f3300f-31ff-4f11-ade1-dc6cef83720c@googlegroups.com> |
Any ideas what kind of simple program you could write to convince a computer to turn it's CPU's fan on?
[toc] | [next] | [standalone]
| From | Ben Pfaff <blp@cs.stanford.edu> |
|---|---|
| Date | 2012-11-26 12:48 -0800 |
| Message-ID | <87zk24t7jk.fsf@blp.benpfaff.org> |
| In reply to | #2523 |
bob <bob@coolfone.comze.com> writes:
> Any ideas what kind of simple program you could write to
> convince a computer to turn it's CPU's fan on?
This might work:
int main(void)
{
for (;;);
}
With a multicore CPU, you might need to run more than one.
[toc] | [prev] | [next] | [standalone]
| From | bob <bob@coolfone.comze.com> |
|---|---|
| Date | 2012-11-27 14:34 -0800 |
| Message-ID | <8a48173a-1a0a-47d7-b331-36ab65c78771@googlegroups.com> |
| In reply to | #2524 |
On Monday, November 26, 2012 2:48:15 PM UTC-6, Ben Pfaff wrote:
> bob <bob@coolfone.comze.com> writes:
>
>
>
> > Any ideas what kind of simple program you could write to
>
> > convince a computer to turn it's CPU's fan on?
>
>
>
> This might work:
>
>
>
> int main(void)
>
> {
>
> for (;;);
>
> }
>
>
>
> With a multicore CPU, you might need to run more than one.
This kinda works. I got the fan to go from about 2000rpm to 3000-something running a few of these.
However, 3d rendering seems to work better. My fan easily jumped past 6000 with Cheetah3d at work.
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2012-11-28 03:08 +0000 |
| Message-ID | <0.df8fc0cf2bd13a938283.20121128030819GMT.878v9mv2zg.fsf@bsb.me.uk> |
| In reply to | #2527 |
bob <bob@coolfone.comze.com> writes:
> On Monday, November 26, 2012 2:48:15 PM UTC-6, Ben Pfaff wrote:
>> bob <bob@coolfone.comze.com> writes:
>>
>> > Any ideas what kind of simple program you could write to
>> > convince a computer to turn it's CPU's fan on?
>>
>> This might work:
>>
>> int main(void)
>> {
>> for (;;);
>> }
>>
>> With a multicore CPU, you might need to run more than one.
>
> This kinda works. I got the fan to go from about 2000rpm to
> 3000-something running a few of these.
>
> However, 3d rendering seems to work better. My fan easily jumped past
> 6000 with Cheetah3d at work.
That doesn't surprise me. The fan is often cooling the machine, not
just the CPU. My laptop has sensors on at least the GPU, the two CPUs,
the HDD, the battery bays, and the expansion slot. Presumably the BIOS
can turn the fan on due to a hot drive just as it can because of a hot
CPU although GPU and CPU are going to be the most common hot spots.
--
Ben.
[toc] | [prev] | [next] | [standalone]
| From | bob <bob@coolfone.comze.com> |
|---|---|
| Date | 2013-02-05 08:30 -0800 |
| Message-ID | <201a507f-a8d7-4474-8e8f-4a3c76a00100@googlegroups.com> |
| In reply to | #2524 |
On Monday, November 26, 2012 2:48:15 PM UTC-6, Ben Pfaff wrote:
> bob <bob@coolfone.comze.com> writes:
>
>
>
> > Any ideas what kind of simple program you could write to
>
> > convince a computer to turn it's CPU's fan on?
>
>
>
> This might work:
>
>
>
> int main(void)
>
> {
>
> for (;;);
>
> }
>
>
>
> With a multicore CPU, you might need to run more than one.
If I change this program so that it starts up several threads that do what main is doing, will that adequately task a multicore CPU?
For instance, on a quad core CPU, if I start up 4 threads that do that loop, do you think it will work and convince the fan to start speeding up?
[toc] | [prev] | [next] | [standalone]
| From | Daniel Pitts <newsgroup.nospam@virtualinfinity.net> |
|---|---|
| Date | 2013-02-05 10:12 -0800 |
| Message-ID | <BYbQs.69563$H5.31245@newsfe28.iad> |
| In reply to | #2955 |
On 2/5/13 8:30 AM, bob wrote:
> On Monday, November 26, 2012 2:48:15 PM UTC-6, Ben Pfaff wrote:
>> bob <bob@coolfone.comze.com> writes:
>>
>>
>>
>>> Any ideas what kind of simple program you could write to
>>
>>> convince a computer to turn it's CPU's fan on?
>>
>>
>>
>> This might work:
>>
>>
>>
>> int main(void)
>>
>> {
>>
>> for (;;);
>>
>> }
>>
>>
>>
>> With a multicore CPU, you might need to run more than one.
>
> If I change this program so that it starts up several threads that do what main is doing, will that adequately task a multicore CPU?
>
> For instance, on a quad core CPU, if I start up 4 threads that do that loop, do you think it will work and convince the fan to start speeding up?
>
Possibly. Only real way to know is try it.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming
csiph-web