You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Scott Stults <ss...@opensourceconnections.com> on 2015/09/03 22:33:26 UTC

Why is Process Total Time greater than Elapsed Time?

>From what I can tell, each component processes the request sequentially. So
how can I see an Elapsed Time of 750ms (SolrJ client) and a Process Total
Time of 1300ms? Does the Process Total Time add up the amount of time each
leaf reader takes, or some other concurrent things?

Thank you,
Scott

Re: Why is Process Total Time greater than Elapsed Time?

Posted by Scott Stults <ss...@opensourceconnections.com>.
Thanks Hoss, sorry I wasn't clear. By Process Total Time I mean this
structure in the debug response:

debug
  timing
    process
      time

Elapsed time is what I get from SolrJ's API:
 SolrClient.quey().getElapsedTime().

So I really expect elapsed time to be the greatest duration of all values.
Do you know why that's not the case?


Thank you,
Scott

On Thu, Sep 3, 2015 at 4:41 PM, Chris Hostetter <ho...@fucit.org>
wrote:

>
> depends on where you are reading "Process Total Time" from.  that
> terminology isn't something i've ever sen used in the context of solr
> (fairly certain nothing in solr refers to anything that way)
>
> QTime is the amount of time spent processing a request before it starts
> being written out over the wire to the client, so it is almost garunteed
> to be *less* then the total elapsed (wall clock) time witnessed by your
> solrJ client ... but i have no idea what "Process Total Time" is if you
> are seeing it greater then wall clock.
>
> : From what I can tell, each component processes the request sequentially.
> So
> : how can I see an Elapsed Time of 750ms (SolrJ client) and a Process Total
> : Time of 1300ms? Does the Process Total Time add up the amount of time
> each
> : leaf reader takes, or some other concurrent things?
>
>
> -Hoss
> http://www.lucidworks.com/
>



-- 
Scott Stults | Founder & Solutions Architect | OpenSource Connections, LLC
| 434.409.2780
http://www.opensourceconnections.com

Re: Why is Process Total Time greater than Elapsed Time?

Posted by Chris Hostetter <ho...@fucit.org>.
depends on where you are reading "Process Total Time" from.  that 
terminology isn't something i've ever sen used in the context of solr 
(fairly certain nothing in solr refers to anything that way)

QTime is the amount of time spent processing a request before it starts 
being written out over the wire to the client, so it is almost garunteed 
to be *less* then the total elapsed (wall clock) time witnessed by your 
solrJ client ... but i have no idea what "Process Total Time" is if you 
are seeing it greater then wall clock.

: From what I can tell, each component processes the request sequentially. So
: how can I see an Elapsed Time of 750ms (SolrJ client) and a Process Total
: Time of 1300ms? Does the Process Total Time add up the amount of time each
: leaf reader takes, or some other concurrent things?


-Hoss
http://www.lucidworks.com/