Re: gc logging basic question

2016-02-11 Thread Tao Feng
Just FYI, at linkedin we encountered this issue many times. And one of our coworker recently wrote a blog posted about this issue: https://engineering.linkedin.com/blog/2016/02/eliminating-large-jvm-gc-pauses-caused-by-background-io-traffic . Thanks, -Tao On Wed, Feb 10, 2016 at 1:04 PM, Srinivas

Re: gc logging basic question

2016-02-10 Thread Srinivas Ramakrishna
We've run into similar issues at Twitter, and are readying a patch (re # (4) of Thomas' mail) for buffering in-memory and writing to disk/file out-of-line wrt safepoints or loggers. The patch is under test and review internally at this time, and we hope to publish it for review on Open JDK once int

Re: gc logging basic question

2016-02-10 Thread Gustav Åkesson
Hi, Well, AFAIK the loggning IS part of STW cycle. I had troubles with this before, which results in GCs with high systime. Since then I always print the logs to RAM disk, which solves the problem. Best Regards, Gustav Åkesson Den 9 feb 2016 18:46 skrev "Tao Feng" : > Hi Jenny, Thomas, > > Thank

Re: gc logging basic question

2016-02-09 Thread Tao Feng
Hi Jenny, Thomas, Thanks a lot for your reply. Indeed we observe high real time in gc which we correlate with high write syscall time. This makes us doubt whether GC logging is part of cycle. Thanks, -Tao On Tue, Feb 9, 2016 at 2:11 AM, Thomas Schatzl wrote: > Hi, > > On Mon, 2016-02-08 at 22:

Re: gc logging basic question

2016-02-09 Thread Thomas Schatzl
Hi, On Mon, 2016-02-08 at 22:35 -0800, Yu Zhang wrote: > Tao, > > GC logging is not part of GC STW pause. Though we may see application > being stopped due to gc logging, if there are a lot of I/O activities > on the system. > The gc log file is opened by the following > _fd = open(file_name, O_W

Re: gc logging basic question

2016-02-08 Thread Yu Zhang
Tao, GC logging is not part of GC STW pause. Though we may see application being stopped due to gc logging, if there are a lot of I/O activities on the system. The gc log file is opened by the following _fd = open(file_name, O_WRONLY | O_CREAT | O_TRUNC, 0666); Thanks, Jenny On 2/4/2016 11:0