POV-Ray : Newsgroups : povray.binaries.images : CGSphere WIP: stacked convex lenses Server Time
3 Jul 2024 00:29:47 EDT (-0400)
  CGSphere WIP: stacked convex lenses (Message 11 to 20 of 27)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 7 Messages >>>
From: Le Forgeron
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 13 Nov 2014 17:02:28
Message: <54652a74$1@news.povray.org>
On 13/11/2014 21:21, Cousin Ricky wrote:
> My hardware is a Dell Inspiron 17R with Intel Core i7 (8 cores).

Isn't that 4 cores with HT ? (for povray, it would be worth 5 cores, YMMV)

-- 
IQ of crossposters with FU: 100 / (number of groups)
IQ of crossposters without FU: 100 / (1 + number of groups)
IQ of multiposters: 100 / ( (number of groups) * (number of groups))


Post a reply to this message

From: Cousin Ricky
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 13 Nov 2014 18:40:00
Message: <web.5465406854566a48192ae5f10@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> On 13/11/2014 21:21, Cousin Ricky wrote:
> > My hardware is a Dell Inspiron 17R with Intel Core i7 (8 cores).
>
> Isn't that 4 cores with HT ? (for povray, it would be worth 5 cores, YMMV)

I've seen "quad core" in literature not attached to this particular model, but
in the POV-Ray statistics, there is a clear 8-to-1 ratio between CPU times and
elapsed times.  Does this mean that there are 2 CPUs in each core?


Post a reply to this message

From: Le Forgeron
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 14 Nov 2014 06:59:54
Message: <5465eeba$1@news.povray.org>
Le 14/11/2014 00:36, Cousin Ricky a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> On 13/11/2014 21:21, Cousin Ricky wrote:
>>> My hardware is a Dell Inspiron 17R with Intel Core i7 (8 cores).
>>
>> Isn't that 4 cores with HT ? (for povray, it would be worth 5 cores, YMMV)
> 
> I've seen "quad core" in literature not attached to this particular model, but
> in the POV-Ray statistics, there is a clear 8-to-1 ratio between CPU times and
> elapsed times.  Does this mean that there are 2 CPUs in each core?
> 
> 
Sort of... there is two full set of registers in each core, allowing to
run two code in parallel... as long as they do not need the same
resources from the core.

at 100% cpu like povray, yes there is a 8:1 ratio between cpu times and
wall-clock time. Yet, if the scheduler of the operating system is not
too bad, if you force povray to run on less threads (with -WT<number>
option), you can get some surprise like -WT8 is not twice faster that -WT4.

With good schedulers, povray -WT4 would run one thread per core, leaving
the other set of registers idle or used by something else.


-- 
Just because nobody complains does not mean all parachutes are perfect.


Post a reply to this message

From: Thomas de Groot
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 14 Nov 2014 07:06:48
Message: <5465f058$1@news.povray.org>
On 14-11-2014 12:59, Le_Forgeron wrote:
> Le 14/11/2014 00:36, Cousin Ricky a écrit :
>> Le_Forgeron <jgr### [at] freefr> wrote:
>>> On 13/11/2014 21:21, Cousin Ricky wrote:
>>>> My hardware is a Dell Inspiron 17R with Intel Core i7 (8 cores).
>>>
>>> Isn't that 4 cores with HT ? (for povray, it would be worth 5 cores, YMMV)
>>
>> I've seen "quad core" in literature not attached to this particular model, but
>> in the POV-Ray statistics, there is a clear 8-to-1 ratio between CPU times and
>> elapsed times.  Does this mean that there are 2 CPUs in each core?
>>
>>
> Sort of... there is two full set of registers in each core, allowing to
> run two code in parallel... as long as they do not need the same
> resources from the core.
>
> at 100% cpu like povray, yes there is a 8:1 ratio between cpu times and
> wall-clock time. Yet, if the scheduler of the operating system is not
> too bad, if you force povray to run on less threads (with -WT<number>
> option), you can get some surprise like -WT8 is not twice faster that -WT4.
>
> With good schedulers, povray -WT4 would run one thread per core, leaving
> the other set of registers idle or used by something else.
>
>
Talking of which, is there a difference between -WT and +WT? I get the 
impression that both are used indiscriminately.

Thomas


Post a reply to this message

From: Raiford, Michael
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 14 Nov 2014 10:41:35
Message: <546622af$1@news.povray.org>
On 11/14/2014 5:59 AM, Le_Forgeron wrote:
> Le 14/11/2014 00:36, Cousin Ricky a écrit :
>> Le_Forgeron <jgr### [at] freefr> wrote:
>>> On 13/11/2014 21:21, Cousin Ricky wrote:
>>>> My hardware is a Dell Inspiron 17R with Intel Core i7 (8 cores).
>>>
>>> Isn't that 4 cores with HT ? (for povray, it would be worth 5 cores, YMMV)
>>
>> I've seen "quad core" in literature not attached to this particular model, but
>> in the POV-Ray statistics, there is a clear 8-to-1 ratio between CPU times and
>> elapsed times.  Does this mean that there are 2 CPUs in each core?
>>
>>
> Sort of... there is two full set of registers in each core, allowing to
> run two code in parallel... as long as they do not need the same
> resources from the core.
>
> at 100% cpu like povray, yes there is a 8:1 ratio between cpu times and
> wall-clock time. Yet, if the scheduler of the operating system is not
> too bad, if you force povray to run on less threads (with -WT<number>
> option), you can get some surprise like -WT8 is not twice faster that -WT4.
>
> With good schedulers, povray -WT4 would run one thread per core, leaving
> the other set of registers idle or used by something else.
>
>

Yep. Pretty much that. I've noticed that my work computer (core i3, dual 
core) isn't quite as fast as my desktop PC (a Core2 Quad), even though 
it appears to have 4 cores to applications.

I forget exactly what hyperthreading does, but it does give a bit of a 
boost to multi-threaded applications.


Post a reply to this message

From: Le Forgeron
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 14 Nov 2014 13:03:10
Message: <546643de$1@news.povray.org>
On 14/11/2014 13:06, Thomas de Groot wrote:
> On 14-11-2014 12:59, Le_Forgeron wrote:
>> Le 14/11/2014 00:36, Cousin Ricky a écrit :
>>> Le_Forgeron <jgr### [at] freefr> wrote:
>>>> On 13/11/2014 21:21, Cousin Ricky wrote:
>>>>> My hardware is a Dell Inspiron 17R with Intel Core i7 (8 cores).
>>>>
>>>> Isn't that 4 cores with HT ? (for povray, it would be worth 5 cores,
>>>> YMMV)
>>>
>>> I've seen "quad core" in literature not attached to this particular
>>> model, but
>>> in the POV-Ray statistics, there is a clear 8-to-1 ratio between CPU
>>> times and
>>> elapsed times.  Does this mean that there are 2 CPUs in each core?
>>>
>>>
>> Sort of... there is two full set of registers in each core, allowing to
>> run two code in parallel... as long as they do not need the same
>> resources from the core.
>>
>> at 100% cpu like povray, yes there is a 8:1 ratio between cpu times and
>> wall-clock time. Yet, if the scheduler of the operating system is not
>> too bad, if you force povray to run on less threads (with -WT<number>
>> option), you can get some surprise like -WT8 is not twice faster that
>> -WT4.
>>
>> With good schedulers, povray -WT4 would run one thread per core, leaving
>> the other set of registers idle or used by something else.
>>
>>
> Talking of which, is there a difference between -WT and +WT? I get the
> impression that both are used indiscriminately.
> 
> Thomas

Actually, for some option there is a difference between + and -
(usually one form disable the option, and the other enable it, with some
value).

For instance +KC and -KC are opposite of each other.

But +H and -H are happily setting both the height of the output.

Now, if I could find a mnemonic to remember which one is enable and
which one is disable... that would be a great year.



-- 
IQ of crossposters with FU: 100 / (number of groups)
IQ of crossposters without FU: 100 / (1 + number of groups)
IQ of multiposters: 100 / ( (number of groups) * (number of groups))


Post a reply to this message

From: jhu
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 14 Nov 2014 14:05:00
Message: <web.546651d654566a48d19b0ec40@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

> Talking of which, is there a difference between -WT and +WT? I get the
> impression that both are used indiscriminately.
>
> Thomas

"Inflammable means flammable? What a country!"


Post a reply to this message

From: clipka
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 14 Nov 2014 21:48:03
Message: <5466bee3$1@news.povray.org>
Am 14.11.2014 19:03, schrieb Le_Forgeron:

> Actually, for some option there is a difference between + and -
> (usually one form disable the option, and the other enable it, with some
> value).
>
> For instance +KC and -KC are opposite of each other.
>
> But +H and -H are happily setting both the height of the output.
>
> Now, if I could find a mnemonic to remember which one is enable and
> which one is disable... that would be a great year.

Uh... how about "+" adds something (turns it on), while "-" removes 
something (turns it off)?

Not too difficult, is it ;-)


Post a reply to this message

From: Thomas de Groot
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 15 Nov 2014 03:20:09
Message: <54670cb9$1@news.povray.org>
On 15-11-2014 3:47, clipka wrote:
> Am 14.11.2014 19:03, schrieb Le_Forgeron:
>
>> Actually, for some option there is a difference between + and -
>> (usually one form disable the option, and the other enable it, with some
>> value).
>>
>> For instance +KC and -KC are opposite of each other.
>>
>> But +H and -H are happily setting both the height of the output.
>>
>> Now, if I could find a mnemonic to remember which one is enable and
>> which one is disable... that would be a great year.
>
> Uh... how about "+" adds something (turns it on), while "-" removes
> something (turns it off)?
>
> Not too difficult, is it ;-)
>
LOL. I must say that where on/off is concerned, I do not have much 
problem with +/-. It is those cases where there is no such thing and 
where you can either use + or - for the same result that I begin to feel 
itchy. It confuses the issue and as one does not always remember which 
of those bloody settings can or cannot be switched... ;-)

Thomas


Post a reply to this message

From: Cousin Ricky
Subject: Re: CGSphere WIP: stacked convex lenses
Date: 15 Nov 2014 13:10:00
Message: <web.5467967254566a48192ae5f10@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> LOL. I must say that where on/off is concerned, I do not have much
> problem with +/-. It is those cases where there is no such thing and
> where you can either use + or - for the same result that I begin to feel
> itchy. It confuses the issue and as one does not always remember which
> of those bloody settings can or cannot be switched... ;-)

I just make a habit of using + unless I want to turn something off.  That way
the question never comes up.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 7 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.