Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2008 17:09:24 +0000 (UTC)
From:      Jason Evans <jasone@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdlib malloc.3 malloc.c
Message-ID:  <200802171709.m1HH9O33044137@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jasone      2008-02-17 17:09:24 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      malloc.3 malloc.c 
  Log:
  Remove support for lazy deallocation.  Benchmarks across a wide range of
  allocation patterns, number of CPUs, and MALLOC_OPTIONS settings indicate
  that lazy deallocation has the potential to worsen throughput dramatically.
  Performance degradation occurs when multiple threads try to clear the lazy
  free cache simultaneously.  Various experiments to avoid this bottleneck
  failed to completely solve this problem, while adding yet more complexity.
  
  Revision  Changes    Path
  1.78      +1 -12     src/lib/libc/stdlib/malloc.3
  1.165     +3 -209    src/lib/libc/stdlib/malloc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802171709.m1HH9O33044137>