mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kapil Arya <ka...@mesosphere.io>
Subject Review Request 42518: Disabled "drop_log_memory" flag for glog.
Date Fri, 22 Jan 2016 22:14:21 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42518/
-----------------------------------------------------------

Review request for mesos, Ben Mahler, Cody Maloney, and Joris Van Remoortere.


Bugs: MESOS-920
    https://issues.apache.org/jira/browse/MESOS-920


Repository: mesos


Description
-------

When this flag is set, glog makes several hundred `posix_fadvise(...,
POSIX_FADV_DONTNEED)` calls per second to advise the kernel to drop
in-memory buffers related to log contents.


Diffs
-----

  src/logging/logging.cpp f7619b18fa4a78b20951edad892ca5c616bbed55 

Diff: https://reviews.apache.org/r/42518/diff/


Testing
-------

Verified with the patch by running under gdb and placing a breakpoint on posix_fadvise. The
breakpoint doesn't hit anymore.


Thanks,

Kapil Arya


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message