<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That tool appears to be rounding the slab sizes in its output. They are
not the same size. Run memcached -vv and you'll see the actual sizes
(they're printed at startup time when you run with -vv).<br>
<br>
-Steve<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:rkmr.em@gmail.com">rkmr.em@gmail.com</a> wrote:
<blockquote
cite="mide04d2e90703251133g7ccb023er39119aae3c1581d2@mail.gmail.com"
type="cite">This is my memcached slab details. Why are there multiple
1kB, 2kB slabs? Seems ineffective. Is there someway I can change it?<br>
thanks<br>
<br>
memcached-tool <a href="http://127.0.0.1">127.0.0.1</a><br>
# Item_Size Max_age 1MB_pages Full?<br>
6 252 B 179013 s 1 no<br>
7 316 B 171928 s 1 no<br>
8 396 B 180061 s 1 no<br>
9 496 B 183877 s 1 no<br>
10 620 B 183887 s 1 no<br>
11 776 B 183707 s 1 no<br>
12 972 B 178798 s 1 no<br>
13 1 kB 170944 s 1 no<br>
14 1 kB 167250 s 1 no<br>
15 1 kB 167223 s 1 no<br>
16 2 kB 181903 s 1 no<br>
17 2 kB 169914 s 1 no<br>
<br>
<br>
<div><span class="gmail_quote">On 3/25/07, <b
class="gmail_sendername">Steven Grimm</b> <<a
href="mailto:sgrimm@facebook.com">sgrimm@facebook.com</a>> wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Slab
sizes -- or rather, the sizes of the items in each particular class<br>
of slabs -- are fixed at startup. Can you give an example of the kind of<br>
fragmentation you're seeing (or expecting to see)?<br>
<br>
-Steve<br>
<br>
<br>
Jure Petrovic wrote:<br>
> Hello,<br>
><br>
> a question about slabs.<br>
><br>
> Does Memcached have the ability to change slab sizes during
runtime in<br>
> order to reduce internal fragmentation?<br>
><br>
> Thank you,<br>
> Jure Petrovic<br>
><br>
><br>
<br>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>