Skip to content
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

Firefox + Xorg (Linux) take way too much cputime while waiting for results from the notebook server #185

Closed
malb opened this issue Dec 18, 2006 · 6 comments

Comments

@malb
Copy link
Member

malb commented Dec 18, 2006

On my P4 so as my P3 system whenever I undertake a long calculation using the notebook the polling for results takes way too much cputime. I guess it's caused by a very high polling frequency. top output follows:

 XXXX martin    25   0  125m  36m 9.8m R   80  2.4   1:13.44 python
 XXXX root      16   0  285m 176m 2860 R   36 11.6 204:18.81 Xorg
 XXXX martin    15   0 95860  43m  19m S   30  2.8   3:50.28 firefox-bin

How to reproduce: Calculate something difficult and monitor top.

Component: notebook

Issue created by migration from https://trac.sagemath.org/ticket/185

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Sep 10, 2007

comment:3

Please investigate the issue. The orignial milestone was 1.8 so it has been a while.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-2.9.1 milestone Sep 10, 2007
@malb
Copy link
Member Author

malb commented Jan 17, 2008

comment:4

The issues has not been resolved, an truncated exponential backoff was discussed here:

http://groups.google.com/group/sage-devel/browse_thread/thread/f8f76d438163e546/110cf0c908689635?

@boothby
Copy link

boothby commented Mar 16, 2008

comment:5

I've implemented something like exponential falloff. Polling slows down gradually; after about 30 seconds, poll delay is 5 seconds.

@boothby
Copy link

boothby commented Mar 16, 2008

Attachment: 185-smartpoll.patch.gz

@boothby boothby modified the milestones: sage-2.11, sage-2.10.4 Mar 16, 2008
@williamstein
Copy link
Contributor

comment:7

It works fine for me; the code makes sense.

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Mar 17, 2008

comment:8

Merged in Sage 2.10.4.final

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Mar 17, 2008
tobiasdiez pushed a commit to tobiasdiez/sage that referenced this issue Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants