| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Notes:
svn path=/head/; revision=13750
|
|
|
|
|
|
|
|
|
| |
Submitted by: John Birrel(L?)
changes for threadsafe operations
Notes:
svn path=/head/; revision=13545
|
|
|
|
|
|
|
| |
was some datum given).
Notes:
svn path=/head/; revision=13413
|
|
|
|
|
|
|
| |
Found by: Lars Fredriksen <fredriks@mcs.com>
Notes:
svn path=/head/; revision=13268
|
|
|
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=13123
|
|
|
|
| |
Notes:
svn path=/head/; revision=13030
|
|
|
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: Kaleb Keithly <kaleb@x.org>
Notes:
svn path=/head/; revision=12918
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
via mmap() up around the shared library area. Previously the directory
was allocated from space from it's own memory pool. Because of the way it
was being extended on processes with large malloced data segments (ie: inn)
once the page directory was extended for some reason, it was not possible
to lower the heap size any more to return pages to the OS.
(If my understanding is correct, page directory expansion occurs at 4MB,
12MB, 20MB, 28MB, etc.) I was seeing INN allocate a large amount of short
term memory, pushing it over the 28MB mark, and once it's transient demands
hit 28MB, it never freed it's pages and swap space again.)
I've been running this in my libc for about a month...
Also, seperate MALLOC_STATS from EXTRA_SANITY.. I found it useful to call
malloc_dump() from within INN from a ctlinnd command to see where the hell
all the memory was going.. :-) I've left MALLOC_STATS enabled, as it has
no run-time or data storage cost.
Reviewed by: phk
Notes:
svn path=/head/; revision=12776
|
|
|
|
| |
Notes:
svn path=/head/; revision=11668
|
|
|
|
| |
Notes:
svn path=/head/; revision=11665
|
|
|
|
|
|
|
| |
use strncmp()..
Notes:
svn path=/head/; revision=11549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"zero' and 'junk' options to help find and diagnose malloc abuse.
EXTRA_SANITY defaults "junk" to on.
Don't dump the internal state, unless EXTRA_SANITY.
General code cleanup.
Error messages cleaned up a bit, more checking earlier.
EXTRA_SANITY is default at this time (just in case).
Performance (without EXTRA_SANITY) is better, beats gnumalloc in
both time & space most of the time:
# In-memory test.
./malloc 50000000 2000 8192
159.2u 1.5s 2:41.85 99.3% 5+7742k 0+0io 0pf+0w
./gnumalloc 50000000 2000 8192
272.6u 0.4s 4:35.01 99.3% 5+8533k 0+0io 0pf+0w
# Swap-space test.
./malloc 500000 14000 8192
6.5u 4.1s 4:08.87 4.3% 5+49209k 0+0io 9772pf+0w
./gnumalloc 500000 14000 8192
16.2u 14.5s 15:36.14 3.2% 5+54100k 0+0io 47651pf+0w
# Small items test.
./malloc 20000000 20000 2048
67.0u 0.3s 1:07.83 99.2% 5+18199k 0+0io 4pf+0w
./gnumalloc 20000000 20000 2048
66.2u 0.3s 1:07.03 99.3% 5+18107k 0+0io 0pf+0w
SANITY is not an option anymore. (!!)
Notes:
svn path=/head/; revision=11338
|
|
|
|
|
|
|
| |
Submitted by: Mike Pritchard <mpp@mpp.minn.net>
Notes:
svn path=/head/; revision=10952
|
|
|
|
|
|
|
|
|
|
| |
Performance is comparable to gnumalloc if you have sufficient RAM, and
it screams around it if you don't.
Compiled with "EXTRA_SANITY" until further notice.
see malloc.3 for more details.
Notes:
svn path=/head/; revision=10818
|
|
|
|
|
|
|
| |
instead of hardcoded whitespaces
Notes:
svn path=/head/; revision=9846
|
|
|
|
|
|
|
| |
in 8bit environment (isalpha at the end of digits)
Notes:
svn path=/head/; revision=9845
|
|
|
|
|
|
|
|
|
| |
like 38400<any 8bit char, isalpha> it not detect this stuff and
produce very big number instead. Fixed by operating with unsigned char
and checking for isascii. (secure/telnetd hits by it f.e.)
Notes:
svn path=/head/; revision=9843
|
|
|
|
| |
Notes:
svn path=/head/; revision=8870
|
|
|
|
|
|
|
|
|
|
| |
Grrr. If the dbhash routines weren't grossly overengineered I wouldn't
even need to do this! :-(
Also now export the hash_stats routine. Manpage coming RSN - I promise.
Notes:
svn path=/head/; revision=7435
|
|
|
|
| |
Notes:
svn path=/head/; revision=7394
|
|
|
|
|
|
|
|
| |
that the db/hash functions don't, and they're much simpler to use for
low-overhead string hashing.
Notes:
svn path=/head/; revision=7388
|
|
|
|
|
|
|
|
| |
realpath() still accepts "" as an arg and converts it to a canonical
pathname for the current directory.
Notes:
svn path=/head/; revision=6700
|
|
|
|
|
|
|
| |
or depend on <stdio.h> bogusly including it.
Notes:
svn path=/head/; revision=2504
|
|
|
|
|
|
|
|
| |
my machine, and a simple static (genassym) and shared (sysctl) executable
both work. Still to be done: RPCand YP merge.
Notes:
svn path=/head/; revision=1849
|
|
Notes:
svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573
|