Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
help me understand this memory usage
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Josiah Carlson  
View profile  
 More options Oct 1 2012, 12:04 pm
From: Josiah Carlson <josiah.carl...@gmail.com>
Date: Mon, 1 Oct 2012 09:03:59 -0700
Local: Mon, Oct 1 2012 12:03 pm
Subject: Re: help me understand this memory usage

It has everything to do with your max ziplist entries. Below that
number, based on your configuration, Redis will store an encoded
version of your data, whose encoding will depend on the data you are
storing. In your case, because your values can be seen as a decimal
number smaller than a signed long long integer, it will get encoded in
a particular way, which is almost as short as your base-36
representation.

In order for ziplist entry count to take effect, you may need to restart Redis.

Regards,
 - Josiah


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Noria  
View profile  
 More options Oct 1 2012, 2:45 pm
From: Xavier Noria <f...@hashref.com>
Date: Mon, 1 Oct 2012 11:45:36 -0700 (PDT)
Local: Mon, Oct 1 2012 2:45 pm
Subject: Re: help me understand this memory usage

El dilluns 1 d’octubre de 2012 18:04:03 UTC+2, Josiah Carlson va escriure:

It has everything to do with your max ziplist entries. Below that

> number, based on your configuration, Redis will store an encoded
> version of your data, whose encoding will depend on the data you are
> storing. In your case, because your values can be seen as a decimal
> number smaller than a signed long long integer, it will get encoded in
> a particular way, which is almost as short as your base-36
> representation.

> In order for ziplist entry count to take effect, you may need to restart
> Redis.

Ahhh, I see what happened.

I am working with Redis 2.4.0 compiled by hand under ~/redis. I thought
redis-server would pick redis/redis.conf automatically, but I see I need to
pass the file to redis-server explicitly.

With the 1024 configured the figures do match.

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »