-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance(time) affected because of PR #4429 in LogFileImpl::writeImpl FLUSH. #4429 #2443 code changes due to this has impacted performance. #4591
Comments
I changed nothing from my code, |
Which OS do you use? Do you use flush option for logging? |
Mine is container application, I have my application on top of Oracle Linux as base image. |
Semantics if flush option for logging was unified across platforms. It means immediate sync to disk for every write on all platforms now. If you want high performance then don't use flush option. |
We dont change flush option, but use by default offered by POCO. I believe by default it is TRUE from poco. |
@chetanshivaji, do you use |
@matejk logging.channels.c3.class = FileChannel |
@aleks-f , does "flush" setting in channel configuration default to "true" is it is not defined by any chance in some cases? |
Describe the bug
Because of changes of flush time performance is increased #4429 #2443
To Reproduce
Just write multiple logs to file.
Expected behavior
For version 1.13.0 the performance is good. but after introduction of this change in 1.13.1 I see performance hit.
Default flush and fsync is the problem.
@matejk
@sdaly2107
The text was updated successfully, but these errors were encountered: