1. 29 5月, 2015 1 次提交
  2. 15 11月, 2014 1 次提交
  3. 12 11月, 2014 1 次提交
  4. 07 9月, 2014 1 次提交
  5. 28 6月, 2014 2 次提交
  6. 24 3月, 2014 1 次提交
    • A
      Sample and cache RSS in serverCron(). · 4ebc7e37
      antirez 提交于
      Obtaining the RSS (Resident Set Size) info is slow in Linux and OSX.
      This slowed down the generation of the INFO 'memory' section.
      
      Since the RSS does not require to be a real-time measurement, we
      now sample it with server.hz frequency (10 times per second by default)
      and use this value both to show the INFO rss field and to compute the
      fragmentation ratio.
      
      Practically this does not make any difference for memory profiling of
      Redis but speeds up the INFO call significantly.
      4ebc7e37
  7. 18 1月, 2014 1 次提交
  8. 03 1月, 2014 1 次提交
  9. 05 12月, 2013 1 次提交
  10. 22 7月, 2013 1 次提交
  11. 19 1月, 2013 2 次提交
    • G
      Fixed many typos. · 560e0499
      guiquanz 提交于
      560e0499
    • G
      Fixed many typos. · 1caf0939
      guiquanz 提交于
      Conflicts fixed, mainly because 2.8 has no cluster support / files:
      	00-RELEASENOTES
      	src/cluster.c
      	src/crc16.c
      	src/redis-trib.rb
      	src/redis.h
      1caf0939
  12. 22 11月, 2012 1 次提交
  13. 20 11月, 2012 1 次提交
  14. 19 11月, 2012 1 次提交
  15. 14 11月, 2012 2 次提交
  16. 24 8月, 2012 2 次提交
    • A
      06bd3b9a
    • A
      Better Out of Memory handling. · 5de75120
      antirez 提交于
      The previous implementation of zmalloc.c was not able to handle out of
      memory in an application-specific way. It just logged an error on
      standard error, and aborted.
      
      The result was that in the case of an actual out of memory in Redis
      where malloc returned NULL (In Linux this actually happens under
      specific overcommit policy settings and/or with no or little swap
      configured) the error was not properly logged in the Redis log.
      
      This commit fixes this problem, fixing issue #509.
      Now the out of memory is properly reported in the Redis log and a stack
      trace is generated.
      
      The approach used is to provide a configurable out of memory handler
      to zmalloc (otherwise the default one logging the event on the
      standard output is used).
      5de75120
  17. 28 3月, 2012 2 次提交
  18. 26 2月, 2012 1 次提交
  19. 07 2月, 2012 1 次提交
  20. 17 11月, 2011 1 次提交
  21. 02 7月, 2011 1 次提交
  22. 20 6月, 2011 1 次提交
  23. 20 1月, 2011 1 次提交
  24. 09 1月, 2011 2 次提交
  25. 02 11月, 2010 1 次提交
  26. 23 10月, 2010 1 次提交
  27. 02 9月, 2010 2 次提交
  28. 25 7月, 2010 1 次提交
    • B
      Add zcalloc and use it where appropriate · 399f2f40
      Benjamin Kramer 提交于
      calloc is more effecient than malloc+memset when the system uses mmap to
      allocate memory. mmap always returns zeroed memory so the memset can be
      avoided.  The threshold to use mmap is 16k in osx libc and 128k in bsd
      libc and glibc. The kernel can lazily allocate the pages, this reduces
      memory usage when we have a page table or hash table that is mostly
      empty.
      
      This change is most visible when you start a new redis instance with vm
      enabled.  You'll see no increased memory usage no matter how big your
      page table is.
      399f2f40
  29. 01 7月, 2010 1 次提交
    • A
      redis.c split into many different C files. · e2641e09
      antirez 提交于
      networking related stuff moved into networking.c
      
      moved more code
      
      more work on layout of source code
      
      SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
      
      cleanly compiling again after the first split, now splitting it in more C files
      
      moving more things around... work in progress
      
      split replication code
      
      splitting more
      
      Sets split
      
      Hash split
      
      replication split
      
      even more splitting
      
      more splitting
      
      minor change
      e2641e09
  30. 20 4月, 2010 1 次提交
  31. 19 2月, 2010 1 次提交
  32. 15 1月, 2010 1 次提交
  33. 11 1月, 2010 1 次提交