Re: index_interval

2018-02-03 Thread Jonathan Haddad
he. In my case, my key cache hit > rate > > is about 20%. mainly because we do random read. We just going to leave > the > > index_interval as is for now. > > > > That's pretty painful. If you can up that a bit, it'll probably help you > out. You can adjust the index interval

Re: index_interval

2017-07-12 Thread Jeff Jirsa
do random read. We just going to leave the > index_interval as is for now. > That's pretty painful. If you can up that a bit, it'll probably help you out. You can adjust the index intervals, too, but I'd significantly increase key cache size first

Re: index_interval

2017-07-12 Thread Fay Hou [Storage Service] ­
First, a big thank to Jeff who spent endless time to help this mailing list. Agreed that we should tune the key cache. In my case, my key cache hit rate is about 20%. mainly because we do random read. We just going to leave the index_interval as is for now. On Mon, Jul 10, 2017 at 8:47 PM, Jeff

Re: index_interval

2017-07-10 Thread Jeff Jirsa
x. For large tables like parsoid HTML with ~500G load per node this > change adds a modest ~25mb off-heap memory." > > I wonder if any one has experience on working with max and min index_interval > to increase the read speed. It's usually more efficient to try to tune the key cache,

index_interval

2017-07-10 Thread Fay Hou [Storage Service] ­
ML pages we seem to get better read latencies by lowering the sampling interval from 128 min / 2048 max to 64 min / 512 max. For large tables like parsoid HTML with ~500G load per node this change adds a modest ~25mb off-heap memory." I wonder if any one has experience on working with max and mi

Re: index_interval

2013-06-17 Thread Robert Coli
On Mon, May 13, 2013 at 9:19 PM, Bryan Talbot btal...@aeriagames.com wrote: Can the index sample storage be treated more like key cache or row cache where the total space used can be limited to something less than all available system ram, and space is recycled using an LRU (or configurable)

Re: index_interval

2013-06-17 Thread Thomas Bernhardt
From: Robert Coli rc...@eventbrite.com To: user@cassandra.apache.org Sent: Monday, June 17, 2013 3:28 PM Subject: Re: index_interval On Mon, May 13, 2013 at 9:19 PM, Bryan Talbot btal...@aeriagames.com wrote: Can the index sample storage be treated more

Re: index_interval

2013-05-13 Thread Bryan Talbot
So will cassandra provide a way to limit its off-heap usage to avoid unexpected OOM kills? I'd much rather have performance degrade when 100% of the index samples no longer fit in memory rather than the process being killed with no way to stabilize it without adding hardware or removing data.

Re: index_interval

2013-05-10 Thread Bryan Talbot
/ cold data read back in again on demand? -Bryan On Wed, May 8, 2013 at 4:24 PM, Jonathan Ellis jbel...@gmail.com wrote: index_interval won't be going away, but you won't need to change it as often in 2.0: https://issues.apache.org/jira/browse/CASSANDRA-5521 On Mon, May 6, 2013 at 12:27 PM

Re: index_interval

2013-05-10 Thread Edward Capriolo
: index_interval won't be going away, but you won't need to change it as often in 2.0: https://issues.apache.org/jira/browse/CASSANDRA-5521 On Mon, May 6, 2013 at 12:27 PM, Hiller, Dean dean.hil...@nrel.gov wrote: I heard a rumor that index_interval is going away? What is the replacement

Re: index_interval

2013-05-08 Thread Jonathan Ellis
index_interval won't be going away, but you won't need to change it as often in 2.0: https://issues.apache.org/jira/browse/CASSANDRA-5521 On Mon, May 6, 2013 at 12:27 PM, Hiller, Dean dean.hil...@nrel.gov wrote: I heard a rumor that index_interval is going away? What is the replacement

Re: index_interval

2013-05-06 Thread aaron morton
@aaronmorton http://www.thelastpickle.com On 7/05/2013, at 5:27 AM, Hiller, Dean dean.hil...@nrel.gov wrote: I heard a rumor that index_interval is going away? What is the replacement for this? (we have been having to play with this setting a lot lately as too big and it gets slow yet too small

Re: index_interval file size is the same after modifying 128 to 512?

2013-03-26 Thread Michal Michalski
lower? We are running strong now with 512 index_interval for past 2-3 days and RAM never looked better. We were pushing 10G before and now we are 2G slowing increasing to 8G before gc compacts the long lived stuff which goes back down to 2G again…..very pleased with LCS in our system! Thanks

Re: index_interval file size is the same after modifying 128 to 512?

2013-03-26 Thread Hiller, Dean
, Why is our disk size not reduced since RAM is way lower? We are running strong now with 512 index_interval for past 2-3 days and RAM never looked better. We were pushing 10G before and now we are 2G slowing increasing to 8G before gc compacts the long lived stuff which goes back down to 2G againŠ

index_interval file size is the same after modifying 128 to 512?

2013-03-22 Thread Hiller, Dean
I was just curious. Our RAM has significantly reduced but the *Index.db files are the same size size as before. Any ideas why this would be the case? Basically, Why is our disk size not reduced since RAM is way lower? We are running strong now with 512 index_interval for past 2-3 days

Re: index_interval file size is the same after modifying 128 to 512?

2013-03-22 Thread Yuki Morishita
Index.db file always contains *all* position of the keys in data file. index_interval is the rate that the position of the key in index file is store in memory. So that C* can begin scanning index file from closest position. On Friday, March 22, 2013 at 11:17 AM, Hiller, Dean wrote: I

Re: index_interval memory savings in our case(if you are curious)Š (and performance result)...

2013-03-21 Thread Andras Szerdahelyi
am using LCS so bloom filter fp default for 1.2.2 is 0.1 so my bloomfilter size is 1.27G RAM(nodetool cfstats)1.7 billion rows each node. My cfstats for this CF is attached(Since cut and paste screwed up the formatting). During testing in QA, we were not sure if index_interval change

Re: index_interval memory savings in our case(if you are curious)Š (and performance result)...

2013-03-21 Thread Michal Michalski
a dead cluster if we did that). On startup, the initial RAM is around 6-8G. Startup with index_interval=512 resulted in a 2.5G-2.8G initial RAM and I have seen it grow to 3.3G and back down to 2.8G. We just rolled this out an hour ago. Our website response time is the same as before as well. We

Re: index_interval memory savings in our case(if you are curious)Š (and performance result)...

2013-03-21 Thread Michal Michalski
Argh, now I think that row size has nothing to do with the ii-based index size/efficiency (I was thinking about the need of reading index_interval / 2 entries in average from index file before finding the proper one, but it should not have nothing to do with row size) - forget the question

Re: index_interval memory savings in our case(if you are curious)Š (and performance result)...

2013-03-21 Thread Hiller, Dean
for 1.2.2 is 0.1 so my bloomfilter size is 1.27G RAM(nodetool cfstats)1.7 billion rows each node. My cfstats for this CF is attached(Since cut and paste screwed up the formatting). During testing in QA, we were not sure if index_interval change was working so we dug into the code to find out

index_interval memory savings in our case(if you are curious)Š (and performance result)...

2013-03-20 Thread Hiller, Dean
with index_interval=512 resulted in a 2.5G-2.8G initial RAM and I have seen it grow to 3.3G and back down to 2.8G. We just rolled this out an hour ago. Our website response time is the same as before as well. We rolled to only 2 nodes(out of 6) in our cluster so far to test it out and let it soak a bit

Re: index_interval memory savings in our case(if you are curious)Š (and performance result)...

2013-03-20 Thread Hiller, Dean
I am using LCS so bloom filter fp default for 1.2.2 is 0.1 so my bloomfilter size is 1.27G RAM(nodetool cfstats)1.7 billion rows each node. My cfstats for this CF is attached(Since cut and paste screwed up the formatting). During testing in QA, we were not sure if index_interval change

configurable index_interval per keyspace

2011-11-10 Thread Radim Kolar
It would be good to have index_interval configurable per keyspace. Preferably in cassandra.yaml because i use it as tuning on nodes running out of memory without affecting performance noticeably.