Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Implements disabled log destination - #6628

Merged
NateBrady23 merged 1 commit into
TechEmpower:masterfrom
NinoFloris:disable-log-subsystem
Jun 15, 2021
Merged

NateBrady23 merged 1 commit into
TechEmpower:masterfrom
NinoFloris:disable-log-subsystem

Conversation

@NinoFloris

Copy link
Copy Markdown
Contributor

See #6627

@NateBrady23

Copy link
Copy Markdown
Member

I think we can give this a shot. A new run will be starting shortly with this change and can be compared to https://tfb-status.techempower.com/results/67c8e670-dab3-44f9-94c3-21a80074afc9

@NateBrady23
NateBrady23 merged commit 9f7be7f into TechEmpower:master Jun 15, 2021
@sebastienros

Copy link
Copy Markdown
Contributor

This is breaking the ASP.NET perf lab. Not saying it's wrong but didn't expect that. What's happening is that now the postgresql log is only comprised of these lines

[STDERR] 2021-06-16 19:00:15 GMT LOG:  ending log output to stderr
[STDERR] 2021-06-16 19:00:15 GMT HINT:  Future log output will go to log destination "".

And we are not detecting that the server is ready to accept connections.

I might still be able to change the setting on my side, or check for this message instead.

@NateBrady23

Copy link
Copy Markdown
Member

@sebastienros Happy to revert after the next run finishes if you need more time to figure it out. Let me know. Still have to confirm that this is a net positive change.

@sebastienros

Copy link
Copy Markdown
Contributor

I am not blocked, had to change what message we look for to detect if postgres is ready.

@NinoFloris

NinoFloris commented Jun 16, 2021 •

Copy link
Copy Markdown
Contributor Author

@sebastienros I've asked to get a run to see what the effects are, I think given the amount of failing tests I noticed there are many frameworks that don't really support running their benchmarks with this disabled (yet). Really just curious what the outcome is. Like I said locally I saw a lot of effect (but this was a resource constrained db, which is different here), if that replicates I might start writing postgres patches to reduce the general cost of having any log destinations.

@NinoFloris
NinoFloris deleted the disable-log-subsystem branch June 16, 2021 20:38
@NinoFloris

Copy link
Copy Markdown
Contributor Author

That being said, I don't see a lot of difference in the running results yet https://www.techempower.com/benchmarks/#section=test&runid=5409dd1a-7afa-4be6-a81e-8160b38cfce2 specifically actix would have absolutely shown better numbers if this had any effect so if you want @nbrady-techempower you could revert already.

@NateBrady23

Copy link
Copy Markdown
Member

@NinoFloris @sebastienros ok let's revert. I appreciate the effort here!

NateBrady23 added a commit that referenced this pull request Jun 16, 2021
NateBrady23 added a commit that referenced this pull request Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants