Re: stats page slow in latest nightly

2009-10-19 Thread Chris Hostetter

: I won't have access to the code until monday, but i'm pretty sure this 
: should be a fairly trivial change (just un-set the estimator on the 
: CacheEntry objects)

done, see notes in SOLR-1292




-Hoss



Re: stats page slow in latest nightly

2009-10-17 Thread Yonik Seeley
On Tue, Oct 6, 2009 at 5:51 PM, Chris Hostetter
hossman_luc...@fucit.org wrote:

 : When I was working on it, I was actually going to default to not show
 : the size, and make you click a link that added a param to get the sizes
 : in the display too. But I foolishly didn't bring it up when Hoss made my
 : life easier with his simpler patch.

 we can always turn the size estimator off ... or turn it only only when
 doing the insanity checks (so normal stats are fast, buf if anything is
 duplicated you'll get info on the size of the discrepancy)

Is this something we want to do before release?  I'm not at all
familiar with the new size estimator stuff, so I'm not sure how long
it can actually take for a big index.

-Yonik
http://www.lucidimagination.com


Re: stats page slow in latest nightly

2009-10-17 Thread Chris Hostetter

:  we can always turn the size estimator off ... or turn it only only when
:  doing the insanity checks (so normal stats are fast, buf if anything is
:  duplicated you'll get info on the size of the discrepancy)
: 
: Is this something we want to do before release?  I'm not at all
: familiar with the new size estimator stuff, so I'm not sure how long
: it can actually take for a big index.

crap ... this slipped my mind.  Yeah, we probably ought to do it before 
the release.  I suspect if you've got things tuned for lots of little 
segments it could be so slow to be worthless.

I won't have access to the code until monday, but i'm pretty sure this 
should be a fairly trivial change (just un-set the estimator on the 
CacheEntry objects)


-Hoss



Re: stats page slow in latest nightly

2009-10-06 Thread Yonik Seeley
Might be the new Lucene fieldCache stats stuff that was recently added?

-Yonik
http://www.lucidimagination.com


On Tue, Oct 6, 2009 at 3:56 PM, Joe Calderon calderon@gmail.com wrote:
 hello *, ive been noticing that /admin/stats.jsp is really slow in the
 recent builds, has anyone else encountered this?


 --joe


Re: stats page slow in latest nightly

2009-10-06 Thread Mark Miller
I was worried about that actually. I havn't tested how fast the RAM
estimator is on huge String FieldCaches - it will be fast on everything
else, but it checks the size of each String in the array.

When I was working on it, I was actually going to default to not show
the size, and make you click a link that added a param to get the sizes
in the display too. But I foolishly didn't bring it up when Hoss made my
life easier with his simpler patch.

Yonik Seeley wrote:
 Might be the new Lucene fieldCache stats stuff that was recently added?

 -Yonik
 http://www.lucidimagination.com


 On Tue, Oct 6, 2009 at 3:56 PM, Joe Calderon calderon@gmail.com wrote:
   
 hello *, ive been noticing that /admin/stats.jsp is really slow in the
 recent builds, has anyone else encountered this?


 --joe
 


-- 
- Mark

http://www.lucidimagination.com





Re: stats page slow in latest nightly

2009-10-06 Thread Joe Calderon
thx much guys, no biggie for me, i just wanted to get to the bottom of
it in case i had screwed something else up..

--joe

On Tue, Oct 6, 2009 at 1:19 PM, Mark Miller markrmil...@gmail.com wrote:
 I was worried about that actually. I havn't tested how fast the RAM
 estimator is on huge String FieldCaches - it will be fast on everything
 else, but it checks the size of each String in the array.

 When I was working on it, I was actually going to default to not show
 the size, and make you click a link that added a param to get the sizes
 in the display too. But I foolishly didn't bring it up when Hoss made my
 life easier with his simpler patch.

 Yonik Seeley wrote:
 Might be the new Lucene fieldCache stats stuff that was recently added?

 -Yonik
 http://www.lucidimagination.com


 On Tue, Oct 6, 2009 at 3:56 PM, Joe Calderon calderon@gmail.com wrote:

 hello *, ive been noticing that /admin/stats.jsp is really slow in the
 recent builds, has anyone else encountered this?


 --joe



 --
 - Mark

 http://www.lucidimagination.com






Re: stats page slow in latest nightly

2009-10-06 Thread Chris Hostetter

: When I was working on it, I was actually going to default to not show
: the size, and make you click a link that added a param to get the sizes
: in the display too. But I foolishly didn't bring it up when Hoss made my
: life easier with his simpler patch.

we can always turn the size estimator off ... or turn it only only when 
doing the insanity checks (so normal stats are fast, buf if anything is 
duplicated you'll get info on the size of the discrepancy)




-Hoss