| Author | 
  | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 Posted: Thu 01 Mar '18 12:39    Post subject: Memcached Cygwin builds | 
     | 
 
  | 
 
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 Wed 30 Jul '25 13:50; edited 46 times in total | 
 
  | 
| Back to top | 
 | 
puertoblack2003
 
 
  Joined: 31 Jul 2009 Posts: 121 Location: U.S
  | 
 | 
| Back to top | 
 | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 | 
| Back to top | 
 | 
puertoblack2003
 
 
  Joined: 31 Jul 2009 Posts: 121 Location: U.S
  | 
 Posted: Tue 06 Mar '18 13:20    Post subject:  | 
     | 
 
  | 
 
 	  | 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: 215 Location: Lille, FR, EU
  | 
 Posted: Tue 06 Mar '18 18:44    Post subject:  | 
     | 
 
  | 
 
seems to run fine  
 
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: 121 Location: U.S
  | 
 Posted: Wed 07 Mar '18 13:22    Post subject:  | 
     | 
 
  | 
 
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
  | 
 Posted: Wed 07 Mar '18 16:57    Post subject:  | 
     | 
 
  | 
 
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: 215 Location: Lille, FR, EU
  | 
 Posted: Thu 22 Mar '18 18:02    Post subject:  | 
     | 
 
  | 
 
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: 215 Location: Lille, FR, EU
  | 
 Posted: Wed 04 Apr '18 9:48    Post subject:  | 
     | 
 
  | 
 
| new released version 1.5.7 | 
 
  | 
| Back to top | 
 | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 Posted: Wed 20 Jun '18 16:24    Post subject:  | 
     | 
 
  | 
 
| new released version 1.5.8 | 
 
  | 
| Back to top | 
 | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 Posted: Tue 24 Jul '18 11:11    Post subject:  | 
     | 
 
  | 
 
| new released version 1.5.9 | 
 
  | 
| Back to top | 
 | 
puertoblack2003
 
 
  Joined: 31 Jul 2009 Posts: 121 Location: U.S
  | 
 Posted: Fri 27 Jul '18 16:59    Post subject:  | 
     | 
 
  | 
 
thanks for the updates    | 
 
  | 
| Back to top | 
 | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 Posted: Thu 16 Aug '18 11:22    Post subject:  | 
     | 
 
  | 
 
| new released version 1.5.10 | 
 
  | 
| Back to top | 
 | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 | 
| Back to top | 
 | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 Posted: Thu 11 Oct '18 9:32    Post subject:  | 
     | 
 
  | 
 
| new released version 1.5.11 | 
 
  | 
| Back to top | 
 | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 Posted: Tue 06 Nov '18 6:48    Post subject:  | 
     | 
 
  | 
 
| new released version 1.5.12 | 
 
  | 
| Back to top | 
 | 
fvciprian
 
 
  Joined: 07 Dec 2018 Posts: 1 Location: Romania
  | 
 Posted: Fri 07 Dec '18 14:48    Post subject: memcached 1.5.12 | 
     | 
 
  | 
 
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: 215 Location: Lille, FR, EU
  | 
 | 
| Back to top | 
 | 
nono303
 
  
  Joined: 20 Dec 2016 Posts: 215 Location: Lille, FR, EU
  | 
 Posted: Tue 21 May '19 13:31    Post subject:  | 
     | 
 
  | 
 
| new released version 1.5.15 | 
 
  | 
| Back to top | 
 | 
hardaqa
 
 
  Joined: 17 Jan 2018 Posts: 1 Location: United Kingdom
  | 
 Posted: Fri 24 May '19 12:00    Post subject: slow performance | 
     | 
 
  | 
 
 	  | 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 | 
 |