It's "-m", sorry again :)
the number is in megabytes, so "-m 4096" means 4096MB and that's what we 
actually meant. 

Regards,
Djordje
________________________________________
From: Marco Guazzone [[email protected]]
Sent: Thursday, November 14, 2013 10:56 AM
To: [email protected]
Subject: Re: [datacaching] Bad command line option for memcached

On 11/14/2013 10:44 AM, Djordje Jevdjic wrote:
> Hi Marco,
>
> Thanks for your e-mail.
Hi Djordje,

Thank you for the reply.
> Indeed, the command line has an error. "-D" is used to configure the memory 
> of the client when during warmup.
> On the server side, you should use "-M".
 From the help, I see:
-M            return error on memory exhausted (rather than removing items)


Maybe, you mean "-m"?

-m <num>      max memory to use for items in megabytes (default: 64 MB)

And if so, do you mean to set "-m 4096" which stands for 4GB or "-m 4"
which stands for 4 MB?

Thank you so much!


> Regards,
> Djordje
> ________________________________________
> From: Marco Guazzone [[email protected]]
> Sent: Thursday, November 14, 2013 10:34 AM
> To: [email protected]
> Subject: [datacaching] Bad command line option for memcached
>
> Hello,
>
> I think there is an error in the documentation of datacaching
> (http://parsa.epfl.ch/cloudsuite/memcached.html)
>
> The "Starting the server" section of the doc says to run memcached as:
>
> The following command will start the server with four threads and 4096MB
> of dedicated memory, with the minimal object size of 550 bytes:
> memcached -t 4 -D 4096 -n 550
>
>
> but the "-D" option is not the right choice since:
>
> -D <char>     Use <char> as the delimiter between key prefixes and IDs.
> This is used for per-prefix stats reporting. The default is ":" (colon).
> If this option is specified, stats collection is turned on
> automatically; if not, then it may be turned on by sending the "stats
> detail on" command to the server.
>
> So, what is the right option?
>
> Thank you very much.
>
> Best,
>
> --
> Marco
>


--
Marco

Reply via email to