memcached 1.2.4 Beta for Windows

View: New views
10 Messages — Rating Filter:   Alert me  

memcached 1.2.4 Beta for Windows

by Kenneth Dalgleish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I did some work last week on getting Kronuz's 1.2.1 version of
Memcached for Windows updated to 1.2.4. After getting over
the first obstacle, getting libevent compiled on Windows, it was
fairly easy updating the port to 1.2.4, even for a non-C
programmer ;o)

There are still a few warnings at compile time, and I am not able to
run the test scripts on Windows. But I have tested it
with a lot of get, set and stat without spotting any problems. Some
advice on getting the test scripts running on windows is
wanted, if at all possible.

I have not tested compiling on anything but Windows yet, so if anyone
feel the urge...

I have put binaries, source, patch files and some information att
http://www.splinedancer.com/memcached-win32/, and I
hope some Windows users are willing to help out testing.


- Kenneth Dalgleish

Re: memcached 1.2.4 Beta for Windows

by Kenneth Dalgleish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The url got corruptet by the comma it seems. Correct url:
http://www.splinedancer.com/memcached-win32/

RE: memcached 1.2.4 Beta for Windows

by Kieran Benton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Kenneth,
I'm going to build it out of your patched source later today and run it
through our stress tests, will try and identify what some of the
warnings are too to see if we can't get this to cleanly build.

Much appreciated!

-Kieran Benton

-----Original Message-----
From: memcached-bounces@...
[mailto:memcached-bounces@...] On Behalf Of Kenneth
Dalgleish
Sent: 06 March 2008 08:22
To: memcached@...
Subject: memcached 1.2.4 Beta for Windows

Hi,

I did some work last week on getting Kronuz's 1.2.1 version of
Memcached for Windows updated to 1.2.4. After getting over
the first obstacle, getting libevent compiled on Windows, it was
fairly easy updating the port to 1.2.4, even for a non-C
programmer ;o)

There are still a few warnings at compile time, and I am not able to
run the test scripts on Windows. But I have tested it
with a lot of get, set and stat without spotting any problems. Some
advice on getting the test scripts running on windows is
wanted, if at all possible.

I have not tested compiling on anything but Windows yet, so if anyone
feel the urge...

I have put binaries, source, patch files and some information att
http://www.splinedancer.com/memcached-win32/, and I
hope some Windows users are willing to help out testing.


- Kenneth Dalgleish

Re: memcached 1.2.4 Beta for Windows

by Kenneth Dalgleish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just updated with a few small fixes, mainly fixed "memcached hanging
when trying to stop or restart windows service" bug.
Grab it at: http://www.splinedancer.com/memcached-win32/
Filedate: 20080309

-Kenneth Dalgleish

Re: memcached 1.2.4 Beta for Windows

by hydn79 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Installed this but MB used is always very low. Like 0.19MB. When we used xcace for the same cache it was up to 22MB. Howver on xcache TTL was disabled and no purging of ache took place.

I notice that ttl is 10 seconds, how can we raise the default TTL of memcache?

Since we have a lot of RAM we don't need it to be purged so often.

Thanks,

Re: memcached 1.2.4 Beta for Windows

by Henrik Schröder-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Kieran, Kenneth, and the list.

Sorry for resurrecting an old thread like this, but any news on this?

Or has anyone else been testing the 1.2.4 memcached for windows? The 1.2.1 version works fine for us in one project, but it would be interesting to upgrade it, mainly for the evictions stat. Also, are there any further changes to the 1.2.4 windows version other than what's in the general changelog?


/Henrik Schröder

On Thu, Mar 6, 2008 at 1:04 PM, Kieran Benton <kieran.benton@...> wrote:
Thanks Kenneth,
I'm going to build it out of your patched source later today and run it
through our stress tests, will try and identify what some of the
warnings are too to see if we can't get this to cleanly build.

Much appreciated!

-Kieran Benton

-----Original Message-----
From: memcached-bounces@...
[mailto:memcached-bounces@...] On Behalf Of Kenneth
Dalgleish
Sent: 06 March 2008 08:22
To: memcached@...
Subject: memcached 1.2.4 Beta for Windows

Hi,

I did some work last week on getting Kronuz's 1.2.1 version of
Memcached for Windows updated to 1.2.4. After getting over
the first obstacle, getting libevent compiled on Windows, it was
fairly easy updating the port to 1.2.4, even for a non-C
programmer ;o)

There are still a few warnings at compile time, and I am not able to
run the test scripts on Windows. But I have tested it
with a lot of get, set and stat without spotting any problems. Some
advice on getting the test scripts running on windows is
wanted, if at all possible.

I have not tested compiling on anything but Windows yet, so if anyone
feel the urge...

I have put binaries, source, patch files and some information att
http://www.splinedancer.com/memcached-win32/, and I
hope some Windows users are willing to help out testing.


- Kenneth Dalgleish


Re: memcached 1.2.4 Beta for Windows

by Stephen Johnston :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We ran 1.2.4 from splinedancer.com for a few weeks in our development environment of 3 users without issue including some crush load testing. We've since deployed to our production machines. 
 
We're running 1.2.4 in a fairly heavy environment. 30 million page views per month, 3-5 memcached hits per page. We're caching 40k items that are all pretty small across two servers in our web farm. Memcached is running well. We moved from eAccelerator because we needed distributed caching due to the process structure for PHP in Microsoft's new FastCGI implementation.
 
My only concern is it's using more CPU than expected. CPU column on the process shows 24 almost constantly, which seems higher than I would have expected, but it doesn't seem to be effecting anything adversely and the CPU graphs seem pretty normal. I suspect that the machine is letting memcached have all the CPU it wants when it is available, but it can get by on less CPU when it has to, but that remains to be tested.
 
In addition, I installed memcached with "X:\memcached\memcached.exe -d install -m 1024"
 
When it installed it used the default size for the cache, 64 megs. Can anyone verify if it was an argument order issue? Should I have used "X:\memcached\memcached.exe -m 1024 -d install" instead?
 
-Stephen

On Fri, May 16, 2008 at 7:50 AM, Henrik Schröder <skrolle@...> wrote:
Hi Kieran, Kenneth, and the list.

Sorry for resurrecting an old thread like this, but any news on this?

Or has anyone else been testing the 1.2.4 memcached for windows? The 1.2.1 version works fine for us in one project, but it would be interesting to upgrade it, mainly for the evictions stat. Also, are there any further changes to the 1.2.4 windows version other than what's in the general changelog?


/Henrik Schröder

On Thu, Mar 6, 2008 at 1:04 PM, Kieran Benton <kieran.benton@...> wrote:
Thanks Kenneth,
I'm going to build it out of your patched source later today and run it
through our stress tests, will try and identify what some of the
warnings are too to see if we can't get this to cleanly build.

Much appreciated!

-Kieran Benton

-----Original Message-----
From: memcached-bounces@...
[mailto:memcached-bounces@...] On Behalf Of Kenneth
Dalgleish
Sent: 06 March 2008 08:22
To: memcached@...
Subject: memcached 1.2.4 Beta for Windows

Hi,

I did some work last week on getting Kronuz's 1.2.1 version of
Memcached for Windows updated to 1.2.4. After getting over
the first obstacle, getting libevent compiled on Windows, it was
fairly easy updating the port to 1.2.4, even for a non-C
programmer ;o)

There are still a few warnings at compile time, and I am not able to
run the test scripts on Windows. But I have tested it
with a lot of get, set and stat without spotting any problems. Some
advice on getting the test scripts running on windows is
wanted, if at all possible.

I have not tested compiling on anything but Windows yet, so if anyone
feel the urge...

I have put binaries, source, patch files and some information att
http://www.splinedancer.com/memcached-win32/, and I
hope some Windows users are willing to help out testing.


- Kenneth Dalgleish




--
Stephen Johnston
President/CEO
Guild Launch, LLC
http://www.guildlaunch.com/

Communities for online gamers, guilds and clans.

Re: memcached 1.2.4 Beta for Windows

by Henrik Schröder-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stephen,

Thanks for the quick reply, your numbers are pretty close to ours, we have fewer pageviews but many more cache gets per page.

However, your CPU usage indicates the same problem we saw with the windows version on a setup of a client of ours. Basically, your memcached is easting all the CPU of one core, when it should consume almost nothing. So apparently that bug isn't fixed in the windows version. :-/

It's reasonable to believe that 1.2.4 won't perform worse than 1.2.1 though, even if that bug is still around.

As for your setup problems, I spent this morning searching for the answer trying to change our install, and apparently you can't specify parameters on install, you have to find the registry key ImagePath under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached Server, and add your parameters there. Then when you restart the service, it should use the new parameters.


/Henrik Schröder

On Fri, May 16, 2008 at 2:27 PM, Stephen Johnston <stephen.johnston@...> wrote:
We ran 1.2.4 from splinedancer.com for a few weeks in our development environment of 3 users without issue including some crush load testing. We've since deployed to our production machines. 
 
We're running 1.2.4 in a fairly heavy environment. 30 million page views per month, 3-5 memcached hits per page. We're caching 40k items that are all pretty small across two servers in our web farm. Memcached is running well. We moved from eAccelerator because we needed distributed caching due to the process structure for PHP in Microsoft's new FastCGI implementation.
 
My only concern is it's using more CPU than expected. CPU column on the process shows 24 almost constantly, which seems higher than I would have expected, but it doesn't seem to be effecting anything adversely and the CPU graphs seem pretty normal. I suspect that the machine is letting memcached have all the CPU it wants when it is available, but it can get by on less CPU when it has to, but that remains to be tested.
 
In addition, I installed memcached with "X:\memcached\memcached.exe -d install -m 1024"
 
When it installed it used the default size for the cache, 64 megs. Can anyone verify if it was an argument order issue? Should I have used "X:\memcached\memcached.exe -m 1024 -d install" instead?
 
-Stephen

On Fri, May 16, 2008 at 7:50 AM, Henrik Schröder <skrolle@...> wrote:
Hi Kieran, Kenneth, and the list.

Sorry for resurrecting an old thread like this, but any news on this?

Or has anyone else been testing the 1.2.4 memcached for windows? The 1.2.1 version works fine for us in one project, but it would be interesting to upgrade it, mainly for the evictions stat. Also, are there any further changes to the 1.2.4 windows version other than what's in the general changelog?


/Henrik Schröder

On Thu, Mar 6, 2008 at 1:04 PM, Kieran Benton <kieran.benton@...> wrote:
Thanks Kenneth,
I'm going to build it out of your patched source later today and run it
through our stress tests, will try and identify what some of the
warnings are too to see if we can't get this to cleanly build.

Much appreciated!

-Kieran Benton

-----Original Message-----
From: memcached-bounces@...
[mailto:memcached-bounces@...] On Behalf Of Kenneth
Dalgleish
Sent: 06 March 2008 08:22
To: memcached@...
Subject: memcached 1.2.4 Beta for Windows

Hi,

I did some work last week on getting Kronuz's 1.2.1 version of
Memcached for Windows updated to 1.2.4. After getting over
the first obstacle, getting libevent compiled on Windows, it was
fairly easy updating the port to 1.2.4, even for a non-C
programmer ;o)

There are still a few warnings at compile time, and I am not able to
run the test scripts on Windows. But I have tested it
with a lot of get, set and stat without spotting any problems. Some
advice on getting the test scripts running on windows is
wanted, if at all possible.

I have not tested compiling on anything but Windows yet, so if anyone
feel the urge...

I have put binaries, source, patch files and some information att
http://www.splinedancer.com/memcached-win32/, and I
hope some Windows users are willing to help out testing.


- Kenneth Dalgleish




--
Stephen Johnston
President/CEO
Guild Launch, LLC
http://www.guildlaunch.com/

Communities for online gamers, guilds and clans.


Parent Message unknown Re: memcached 1.2.4 Beta for Windows

by Stephen Johnston :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, May 18, 2008 at 3:57 PM, Tormod Hystad <thy@...> wrote:
>Basically, your memcached is easting all the CPU of one core, when it >should consume almost nothing.

I've also seen this in our production environment a couple of times. One of those times the affected memcached instance became unresponsive, so it is a pretty serious bug if it affects you.
We haven't seen any unresponsiveness on Memcache, but will keep an eye out of course. I've done some other reading and it seems there are some other related issues that appear on Dual Processor machines like ours which is a Dual Dual Core.
 
Anyone have any advice on how to resolve it? Or if this is something anyone is looking into?
 
-Stephen

Re: memcached 1.2.4 Beta for Windows

by hydn79 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Use this version of memcache for Windows. It's 1.2.5:
http://code.jellycan.com/memcached/

Works like a charm!