Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b17018621eb14bd7bc73ea613bcae74d0ce9da0c
Ticket: 1a6a36d901dedead248ea96df09d5dc159532652
Linux: epoll() cpu usage is high (in conjunction with after command)
User & Date: bll on 2017-09-08 16:01:44
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Apparently epoll() is not working correctly.  The CPU usage is much too high.
    On Linux, Tcl/Tk 8.7a1
    
    bll-tecra:bll$ ps -f -t pts/1 -o pcpu,args
    %CPU COMMAND
     0.0 bash
    96.5  \_ /home/bll/local87/bin/tclsh8.7 ../ballroomdj.tcl
    94.5      \_ /home/bll/local87/bin/tclsh8.7 /home/bll/sources/ballroomdj/bin/son
    99.8      \_ /home/bll/local87/bin/tclsh8.7 /home/bll/sources/ballroomdj/bin/pla
    
    Tcl/Tk 8.6.7 (tclkit):
    
    bll-tecra:bll$ ps -f -t pts/1 -o pcpu,args
    %CPU COMMAND
     0.0 bash
     3.4  \_ /home/bll/sources/ballroomdj/linux/64/tclsh ../ballroomdj.tcl
     0.5      \_ /home/bll/sources/ballroomdj/linux/64/tclsh /home/bll/sources/ballr
     3.5      \_ /home/bll/sources/ballroomdj/linux/64/tclsh /home/bll/sources/ballr
    
    Tcl/Tk 8.6.7 (built the same as Tcl/Tk 8.7):
    
    bll-tecra:bll$ ps -f -t pts/1 -o pcpu,args
    %CPU COMMAND
     0.0 bash
     5.4  \_ /home/bll/local/bin/tclsh8.6 ../ballroomdj.tcl
     0.9      \_ /home/bll/local/bin/tclsh8.6 /home/bll/sources/ballroomdj/bin/songs
     3.4      \_ /home/bll/local/bin/tclsh8.6 /home/bll/sources/ballroomdj/bin/playe
    
  5. foundin changed to: "8.7a1"
  6. is_private changed to: "0"
  7. login: "bll"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "bll"
  13. subsystem changed to: "01. Notifier"
  14. title changed to: "Linux: epoll() cpu usage is high"
  15. type changed to: "Bug"