Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#14451 closed bug (fixed)

Performance degradation after compiling large projects

Reported by: diver Owned by: nobody
Priority: high Milestone: R1/beta2
Component: System/Kernel Version: R1/Development
Keywords: Cc: ttcoder
Blocked By: Blocking: #14199
Platform: All


x86_64 hrev52309 but it's been the case for a long time.

After compiling anything large like Qt or LibreOffice which stresses the OS a lot I observe a huge performance drop, apps starts longer, window redraw is slower too, etc. Reboot fixes it.

Attachments (1)

listarea.log (214.1 KB ) - added by diver 5 years ago.

Download all attachments as: .zip

Change History (12)

by diver, 5 years ago

Attachment: listarea.log added

comment:1 by diver, 5 years ago

Attached listarea output after booting and compiling LibreOffice. I'm not sure what to look for there, tho.

comment:2 by waddlesplash, 5 years ago

It looks completely normal to me.

I wonder if it's the port heap which is somehow getting slowed down. Try running a full-system profile to see where the time is going.

comment:3 by ttcoder, 5 years ago

Cc: ttcoder added

comment:4 by waddlesplash, 5 years ago

So, I compiled GCC, and for the first 30 or so seconds after the build finished, performance was lower indeed in the ways you describe here (longer redraws, apps opening slower, etc.) However, after about a minute, things started improving, and after I ran a "sync" manually in Terminal, things were pretty much back to normal.

I have a VM paused here which is in this condition, but I really don't see much wrong with it.

There are quite a lot of "slab area"s in the kernel which looks odd, but that may just be the kernel allocator's caches, which it'll free when resources get low.

comment:5 by waddlesplash, 5 years ago

Created #15083 for the slabs issue. Otherwise I can't reproduce this ticket, my system seems back to normal after swap stabilized.

comment:6 by diver, 4 years ago

This is still reproducible in VMware Workstation in hrev53233 after booting and compiling LO. Opening new tab in Terminal takes one second, sync takes 3 seconds (after I let VM rest overnight).

comment:7 by waddlesplash, 4 years ago

Yes, but does "sync" take 3 seconds the second time you run it, or any subsequent time?

comment:8 by diver, 4 years ago

Nope, only the first time. However apps don't start launching any faster after that.

comment:9 by diver, 4 years ago

Resolution: fixed
Status: newclosed

Looks like I can't reproduce it anymore on hrev53259+3 running in VMware after compiling LibreOffice 6.3.

comment:10 by waddlesplash, 4 years ago

Blocking: 14199 added

comment:11 by nielx, 4 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.