Scheduling problems with console commands on Macbook Pro in OS X?

Discussion in 'OT Technology' started by Peyomp, Dec 22, 2006.

  1. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    I have a Macbook Pro 17, Core Duo 2.16GHZ with 2GB of RAM.

    I have noticed lately that whenever I do anything processor or disk intensive on the command line, that the GUI becomes totally unresponsive. I have tried to nice/renice the processes to +20, but this only helps a little.

    It seems like the GUI processes on the Mactels are scheduled with too low a priority to provide responsiveness? Thoughts? Solutions?
     
  2. samm

    samm Next in Line

    Joined:
    Dec 22, 2000
    Messages:
    2,630
    Likes Received:
    0
    Location:
    San Jose, CA
    what command line processes are you running?

    I was compiling gtk on my macbook pro all morning today and didn't really notice a slow GUI.
     
  3. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Different ones.

    ditto. cp. disk operations.
     
  4. emulex

    emulex New Member

    Joined:
    Nov 8, 2006
    Messages:
    24
    Likes Received:
    0
    Location:
    ATL
    and what drive are we talking about? weaksauce drive can bring the worlds fastest laptop to its knees. you got cpu and ram but do you have disk i/o to back that up? are you paging?

    try iostat 2 or vmstat or one of those to see whats going on in..

    make sure your drive has no errors they will drop down in xfer speed when s.m.a.r.t. errors start happening. check out the logs and the dmesg for hints too.

    slow disk+paging=i/o contention and laggy response
     
  5. Peyomp

    Peyomp New Member

    Joined:
    Jan 11, 2002
    Messages:
    14,017
    Likes Received:
    0
    Why would the kernel allow disk operations to bring the UI to a halt?
     

Share This Page