[JIRA] (JENKINS-49347) BlueOcean unusably slow, maybe related to having a lot of builds stored in history

4 views
Skip to first unread message

jdumay@cloudbees.com (JIRA)

unread,
Feb 18, 2018, 7:25:02 PM2/18/18
to jenkinsc...@googlegroups.com
James Dumay resolved as Duplicate
 

Jim Klimov Ill close this against the issues quoted by Vivek Pandey (likely to be the cause).

However, would be great to capture a HAR file of specific page loads and capture a support bundle to help us diagnose these problems. We know there are optimizations to be make but we need specific info

Jenkins / Improvement JENKINS-49347
BlueOcean unusably slow, maybe related to having a lot of builds stored in history
Change By: James Dumay
Status: Open Resolved
Resolution: Duplicate
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

jimklimov@gmail.com (JIRA)

unread,
Feb 19, 2018, 7:54:02 AM2/19/18
to jenkinsc...@googlegroups.com
Jim Klimov commented on Improvement JENKINS-49347
 
Re: BlueOcean unusably slow, maybe related to having a lot of builds stored in history

Added HAR and respective screenshots (console is rather empty and uninteresting, but load times are spectacular).

jimklimov@gmail.com (JIRA)

unread,
Feb 19, 2018, 7:54:02 AM2/19/18
to jenkinsc...@googlegroups.com
Jim Klimov updated an issue
 
Change By: Jim Klimov
Attachment: pipeline-BO-loadtimes-console.png
Attachment: pipeline-BO-loadtimes.7z
Attachment: pipeline-BO-loadtimes.png

jimklimov@gmail.com (JIRA)

unread,
Feb 19, 2018, 8:15:02 AM2/19/18
to jenkinsc...@googlegroups.com

jimklimov@gmail.com (JIRA)

unread,
Feb 19, 2018, 8:34:02 AM2/19/18
to jenkinsc...@googlegroups.com
Jim Klimov edited a comment on Improvement JENKINS-49347
Added HAR and respective screenshots (console is rather empty and uninteresting, but load times are spectacular).


UPDATE: Added somewhat redacted support data.

Statistics-wise, at the moment there are about 40k builds stored in history (and yes, much of the time spent in rendering BO can be Java walking the filesystem to find and parse all that build data):

````
[root@jenkins2 jenkins/jobs]# sync; echo 3 > /proc/sys/vm/drop_caches
[root@jenkins2 jenkins/jobs]# find . -name build.xml | wc -l
39847

real    12m40.689s
user    0m12.259s
sys     0m36.710s
````

and 94 known "users" (many of which were auto-registered from upstream/3rd party projects' commits that were built here; about 20 actual internal users). Listing `$JENKINS_URL/view/Masters/asynchPeople/` or going into the active users and listing builds they are associated with at `$JENKINS_URL/user/myusername/builds` also takes several minutes, at least first time after a filesystem cache flush for cleaner results (and comparably long with a "dirty" cache too).

The system is a KVM VM, has 4Gb RAM assigned and about 1.3Gb of that is free. I'll try bumping it to 8Gb so more FS (meta)data can be cached, at least...

jimklimov@gmail.com (JIRA)

unread,
Feb 19, 2018, 8:35:02 AM2/19/18
to jenkinsc...@googlegroups.com
Jim Klimov edited a comment on Improvement JENKINS-49347
Added HAR and respective screenshots (console is rather empty and uninteresting, but load times are spectacular).

UPDATE: Added somewhat redacted support data.

Statistics-wise, at the moment there are about 40k builds stored in history (and yes, much of the time spent in rendering BO can be Java walking the filesystem to find and parse all that build data):

```` {noformat}
[root@jenkins2 jenkins/jobs]# sync; echo 3 > /proc/sys/vm/drop_caches
[root@jenkins2 jenkins/jobs]# find . -name build.xml | wc -l
39847

real    12m40.689s
user    0m12.259s
sys     0m36.710s
```` {noformat}

and 94 known "users" (many of which were auto-registered from upstream/3rd party projects' commits that were built here; about 20 actual internal users). Listing
` {{ $JENKINS_URL/view/Masters/asynchPeople/ ` }} or going into the active users and listing builds they are associated with at ` {{ $JENKINS_URL/user/myusername/builds ` }} also takes several minutes, at least first time after a filesystem cache flush for cleaner results (and comparably long with a "dirty" cache too).


The system is a KVM VM, has 4Gb RAM assigned and about 1.3Gb of that is free. I'll try bumping it to 8Gb so more FS (meta)data can be cached, at least...

jdumay@cloudbees.com (JIRA)

unread,
Feb 20, 2018, 12:50:03 AM2/20/18
to jenkinsc...@googlegroups.com

jdumay@cloudbees.com (JIRA)

unread,
Feb 20, 2018, 12:50:03 AM2/20/18
to jenkinsc...@googlegroups.com
James Dumay reopened an issue
 

Vivek Pandey - Jim Klimov has provided some HARs and a support bundle, so it should be possible to see the problem he is experiencing now.

Change By: James Dumay
Resolution: Duplicate
Status: Resolved Reopened
Assignee: Vivek Pandey

vivek.pandey@gmail.com (JIRA)

unread,
Feb 26, 2018, 1:21:02 PM2/26/18
to jenkinsc...@googlegroups.com

vivek.pandey@gmail.com (JIRA)

unread,
Mar 12, 2018, 5:03:06 PM3/12/18
to jenkinsc...@googlegroups.com

jdumay@cloudbees.com (JIRA)

unread,
Mar 14, 2018, 7:22:26 PM3/14/18
to jenkinsc...@googlegroups.com

vivek.pandey@gmail.com (JIRA)

unread,
Mar 14, 2018, 10:37:02 PM3/14/18
to jenkinsc...@googlegroups.com
Vivek Pandey resolved as Fixed
 

I looked at the attached HAR file. Most slowness are around how favorites are pre-fetched and loaded subsequently.

Fixes for optimized favorites loading (https://github.com/jenkinsci/blueocean-plugin/pull/1638) and minimizing returns in latestRun in pipeline should fixed this issue (https://github.com/jenkinsci/blueocean-plugin/pull/1635).

These fixes went in 1.5.0-beta-1. I recommend trying latest 1.5.0-beta-2, and report back/reopen if the problem persists.

Change By: Vivek Pandey
Status: Reopened Resolved
Resolution: Fixed

jbriden@cloudbees.com (JIRA)

unread,
Jul 6, 2018, 5:10:21 PM7/6/18
to jenkinsc...@googlegroups.com
Jenn Briden closed an issue as Fixed
Change By: Jenn Briden
Status: Resolved Closed
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

smekkley-1@gmx.com (JIRA)

unread,
May 18, 2019, 2:17:03 AM5/18/19
to jenkinsc...@googlegroups.com
smek commented on Bug JENKINS-49347
 
Re: BlueOcean unusably slow, maybe related to having a lot of builds stored in history

Looks like pull requests are merged. But I find it still a lot slower compared to normal pipeline view, when I open up a job.

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

brian.murrell@intel.com (JIRA)

unread,
Oct 7, 2019, 12:28:02 PM10/7/19
to jenkinsc...@googlegroups.com

We are fully up to date with Jenkins and plugins and Blue Ocean is still terrible to have to sit and wait through all of the stuff it loads.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages