Skip to content

Commit 7638653

Browse files
committed
Add some fields for Lua allocator in INFO DEBUG
1 parent f0fc05d commit 7638653

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

commands/info.md

+4
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@ It won't be included when `INFO` or `INFO ALL` are called, and it is returned on
453453
* `eventloop_duration_cron_sum`: Total time consumption of cron in microseconds (including serverCron and beforeSleep, but excluding IO and AOF flushing)
454454
* `eventloop_duration_max`: The maximal time spent in a single eventloop cycle in microseconds
455455
* `eventloop_cmd_per_cycle_max`: The maximal number of commands processed in a single eventloop cycle
456+
* `allocator_allocated_lua`: Total bytes allocated form the allocator specifically for Lua, including internal-fragmentation.
457+
* `allocator_active_lua`: Total bytes in the allocator active pages specifically for Lua, this includes external-fragmentation.
458+
* `allocator_resident_lua`: Total bytes resident (RSS) in the allocator specifically for Lua, this includes pages that can be released to the OS (by `MEMORY PURGE`, or just waiting).
459+
* `allocator_frag_bytes_lua`: Delta between `allocator_active_lua` and `allocator_allocated_lua`.
456460

457461
[hcgcpgp]: http://code.google.com/p/google-perftools/
458462

0 commit comments

Comments
 (0)