You are not logged in.

#1 2017-08-13 23:50:49

xtian
Member
Registered: 2013-08-25
Posts: 179

[solved] Jupyter Notebook/Python3/Chromium running slow and sluggish

After the 8/5 update, Jupyter has been noticeably sluggish and the rendering is very laggy. For example,
  - Double clicking on a var or line to select text is slow at best if it selects the line at all.
  - When the page loads, all notebook cells are blank until I click into them.
  - Sometimes when I have a large passage selected, the pencil icon in the upper right (between 'Trusted' and 'Python3') will flash and I can't mouse click in the selection--it remains fully selected. If I jump over to the terminal and run `htop` one CPU is at 100% (I'm not sure that's an indication of something else; don't know)

These are not errors I have in Chromium in general (ie. Google Docs edits is fine)--just Jupyter notebooks.
And only recently.

Some particulars of my setup
My last two system updates (`pacman -Syu`) were 7/14 and 8/5.
I'm using the Arch Install of Juypter Notebook, Python 3 and Chrome. All Python packages in current use with Jupyter are installed with `pacman` using Arch versions.

I've been using this setup continuously for a single project for the past three months.

Some things I looked at
  - Filesystem Use is less than 54%
  - Turned off all Extensions in Chromium (except for one bookmark extension)
  - Using Firefox
  - Downgrading Chromium to the previous version (maybe I should go back further?)

Curious if anyone else is having this trouble

Last edited by xtian (2017-08-20 14:45:07)

Offline

#2 2017-08-18 21:26:10

xtian
Member
Registered: 2013-08-25
Posts: 179

Re: [solved] Jupyter Notebook/Python3/Chromium running slow and sluggish

I'm perpetually a newbie, but should this post be in software?

Offline

#3 2017-08-18 22:33:36

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [solved] Jupyter Notebook/Python3/Chromium running slow and sluggish

xtian wrote:

I'm perpetually a newbie, but should this post be in software?

Do you mean Applications & Desktop Environments? It can be here or there. Would you like it moved?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2017-08-20 14:44:40

xtian
Member
Registered: 2013-08-25
Posts: 179

Re: [solved] Jupyter Notebook/Python3/Chromium running slow and sluggish

Problem solved. Didn't think long line setting would be the problem.
Looking at the .bak file for notebook.json, I see on 8/6 I finally fixed the naggingly long lines in Jupyter notebooks--the  day after my update.  [thanks to help at the Google Groups Jupyter forum for the troubleshooting help.]

Here are the Line Wrapping settings I was using.

[nbconfig] $ cat notebook.json.wraplines 
{
  "MarkdownCell": {
    "cm_config": {
      "lineWrapping": true
    }
  },
  "CodeCell": {
    "cm_config": {
      "lineWrapping": true
    }
  },
  "Cell": {
    "cm_config": {
      "lineNumbers": true
    }
  }
}

Offline

Board footer

Powered by FluxBB