logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Webmaster Tools & Utilities View previous topic :: View next topic
Reply to topic   Topic: Memcached Cygwin builds Page 1, 2, 3  Next
Author
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Thu 01 Mar '18 12:39    Post subject: Memcached Cygwin builds Reply with quote

Hi,
For those interested, here are my Memcached Cygwin builds (x86 & x64) builds for php-pecl, httpd ssl cache, etc.
Note that they don't require Cygwin installed to run (all dependencies included)
I'll keep post updated


Last edited by nono303 on Thu 29 Feb '24 16:04; edited 30 times in total
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 118
Location: U.S

PostPosted: Thu 01 Mar '18 16:57    Post subject: Reply with quote

thanks for the share. Unfortunately all of the newer version, I couln't get it to run.

I've been stuck with this version http://downloads.northscale.com/memcached-win64-1.4.4-14.zip

I'm on windows 7 64 bit
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Mon 05 Mar '18 11:12    Post subject: Reply with quote

Hi,

Quite strange...
Could you please checkout https://github.com/nono303/memcached/tree/master/cygwin/x64
open a prompt in x64 folder and type:
Code:
set PATH=
memcahced -vv

What's the output?
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 118
Location: U.S

PostPosted: Tue 06 Mar '18 13:20    Post subject: Reply with quote

nono303 wrote:
set PATH=
memcahced -vv
What's the output?


Code:
slab class   1: chunk size        96 perslab   10922
slab class   2: chunk size       120 perslab    8738
slab class   3: chunk size       152 perslab    6898
slab class   4: chunk size       192 perslab    5461
slab class   5: chunk size       240 perslab    4369
slab class   6: chunk size       304 perslab    3449
slab class   7: chunk size       384 perslab    2730
slab class   8: chunk size       480 perslab    2184
slab class   9: chunk size       600 perslab    1747
slab class  10: chunk size       752 perslab    1394
slab class  11: chunk size       944 perslab    1110
slab class  12: chunk size      1184 perslab     885
slab class  13: chunk size      1480 perslab     708
slab class  14: chunk size      1856 perslab     564
slab class  15: chunk size      2320 perslab     451
slab class  16: chunk size      2904 perslab     361
slab class  17: chunk size      3632 perslab     288
slab class  18: chunk size      4544 perslab     230
slab class  19: chunk size      5680 perslab     184
slab class  20: chunk size      7104 perslab     147
slab class  21: chunk size      8880 perslab     118
slab class  22: chunk size     11104 perslab      94
slab class  23: chunk size     13880 perslab      75
slab class  24: chunk size     17352 perslab      60
slab class  25: chunk size     21696 perslab      48
slab class  26: chunk size     27120 perslab      38
slab class  27: chunk size     33904 perslab      30
slab class  28: chunk size     42384 perslab      24
slab class  29: chunk size     52984 perslab      19
slab class  30: chunk size     66232 perslab      15
slab class  31: chunk size     82792 perslab      12
slab class  32: chunk size    103496 perslab      10
slab class  33: chunk size    129376 perslab       8
slab class  34: chunk size    161720 perslab       6
slab class  35: chunk size    202152 perslab       5
slab class  36: chunk size    252696 perslab       4
slab class  37: chunk size    315872 perslab       3
slab class  38: chunk size    394840 perslab       2
slab class  39: chunk size    524288 perslab       2
<21 server listening (auto-negotiate)
<22 server listening (auto-negotiate)
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Tue 06 Mar '18 18:44    Post subject: Reply with quote

seems to run fine Smile
just check in an other prompt with:
Code:
telnet 127.0.0.1 1121
stats

it may output
Code:
STAT pid 1636
STAT uptime 189735
STAT time 1520354521
STAT version 1.5.6
STAT libevent 2.0.22-stable
...
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 118
Location: U.S

PostPosted: Wed 07 Mar '18 13:22    Post subject: Reply with quote

for some reason running as admin for cmd i can't run telnet 127.0.0.1 1121 it's giving me this

Code:
'telnet' is not recognized as an internal or external command,
operable program or batch file.


now from the old version i was able to run memcached as service with this version it'll start then it'll shut down.
Back to top
wantedxnn



Joined: 07 Oct 2017
Posts: 6
Location: Romānia

PostPosted: Wed 07 Mar '18 16:57    Post subject: Reply with quote

Thank you for sharing this ^^ is working like a charm.
For installing memcached as service i use NSSM with parameter "-m 512".

PS: TELNET is not enabled by default in windows so you need to activate it from "Enable or disable Windows features."

Keep the good work up!
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Thu 22 Mar '18 18:02    Post subject: Reply with quote

Yes, nssm is a good way to have memcached as a service.
better to use v103 of nssm with stdout timestmaped & redirected to logfile
here is my nssm config dump
Code:
nssm-103.exe install memcached D:\memcached\memcached.exe
nssm-103.exe set memcached AppParameters -vv
nssm-103.exe set memcached AppDirectory D:\memcached
nssm-103.exe set memcached AppExit Default Restart
nssm-103.exe set memcached AppStderr D:\memcached\logs\memcached.log
nssm-103.exe set memcached AppKillProcessTree 0
nssm-103.exe set memcached AppTimestampLog 1
nssm-103.exe set memcached DisplayName memcached
nssm-103.exe set memcached ObjectName LocalSystem
nssm-103.exe set memcached Start SERVICE_AUTO_START
nssm-103.exe set memcached Type SERVICE_WIN32_OWN_PROCESS
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Wed 04 Apr '18 9:48    Post subject: Reply with quote

new released version 1.5.7
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Wed 20 Jun '18 16:24    Post subject: Reply with quote

new released version 1.5.8
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Tue 24 Jul '18 11:11    Post subject: Reply with quote

new released version 1.5.9
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 118
Location: U.S

PostPosted: Fri 27 Jul '18 16:59    Post subject: Reply with quote

thanks for the updates Very Happy
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Thu 16 Aug '18 11:22    Post subject: Reply with quote

new released version 1.5.10
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Wed 12 Sep '18 10:11    Post subject: Reply with quote

Update release version 1.5.10 with cygwin version 2.11.1
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Thu 11 Oct '18 9:32    Post subject: Reply with quote

new released version 1.5.11
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Tue 06 Nov '18 6:48    Post subject: Reply with quote

new released version 1.5.12
Back to top
fvciprian



Joined: 07 Dec 2018
Posts: 1
Location: Romania

PostPosted: Fri 07 Dec '18 14:48    Post subject: memcached 1.5.12 Reply with quote

Hi,

I'm trying to use your latest build of memcached (1.5.12) and I'm seeing a huge difference in performance (much slower) compared to version 1.4.5 which I got from here:

https://blog.elijaa.org/2010/08/25/memcached-1-4-5-for-windows/

for Get or Store operations
only ~500 ops/s for version 1.5.12
~ 14000 ops/s for version 1.4.5

Do you have any idea why this huge difference?, is this version compiled with multi threading support?

Thank you,

Ciprian
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Tue 21 May '19 13:30    Post subject: Reply with quote

Hi,

https://blog.elijaa.org/2010/08/25/memcached-1-4-5-for-windows/ seems to be down and I don't know how it had compiled 1.4.5....
For my part, no "multi threading support" option are available in configure so, I can't answer why there is this difference...
Back to top
nono303



Joined: 20 Dec 2016
Posts: 191
Location: Lille, FR, EU

PostPosted: Tue 21 May '19 13:31    Post subject: Reply with quote

new released version 1.5.15
Back to top
hardaqa



Joined: 17 Jan 2018
Posts: 1
Location: United Kingdom

PostPosted: Fri 24 May '19 12:00    Post subject: slow performance Reply with quote

nono303 wrote:
new released version 1.5.15


Hey. Thanks for keeping memcached up to date for Windows. Althought I've got exact same problem fvciprian has with your builds. On my laptop Windows 10 and VPC Windows Server 2019 your memcached on average does 60 ops/s while 1.4.5 found somewhere else does 40000 ops/s. Any idea why?
Back to top


Reply to topic   Topic: Memcached Cygwin builds View previous topic :: View next topic
Post new topic   Forum Index -> Webmaster Tools & Utilities Page 1, 2, 3  Next