Re: Noticable Delays Since Beta 3

From: Benjamin Close <cisbjc_at_cs.unisa.edu.au>
Date: Fri, 08 Oct 2004 09:18:29 +0930
Marc Ramirez wrote:

>On Thursday 07 October 2004 01:15 pm, Doug White wrote:
>  
>
>>On Thu, 7 Oct 2004, Benjamin Close wrote:
>>    
>>
>>>    I've been using each Beta Release as they come out and ever
>>>      
>>>
>since
>  
>
>>>Beta 3 I've noticed delays where there never used to be any.
>>>I believe this may be somehow related to ULE->BSD scheduler change.
>>>      
>>>
>A
>  
>
>>>classic situation of where they now exist is when I switch virtual
>>>desktops back to another xterm. It takes 4-5 seconds before I can
>>>      
>>>
>type.
>  
>
>>>The machine is virtually 100% idle. Before beta3 this was not a
>>>      
>>>
>problem
>  
>
>>>with almost an instant response.
>>>      
>>>
>>Can you provide a reproduction case? I don't notice any sort of delay
>>    
>>
>when
>  
>
>>switching between text vtys, or changing keyboard focus in X. I've
>>    
>>
>been
>  
>
>>using 4BSD the entire time.
>>    
>>
>
>I can't reproduce it yet, but I have the problem, too.  No desktop
>switching 
>involved, and I'm using konsole, but same thing.  For me, sometimes it's
>the 
>mouse and sometimes the keyboard.
>
>Marc.
>
>  
>

I believe the issue is with the scheduler or something related to it. 
The effect seems to occur when a process
 hasn't been used for a long time and then is suddenly switched from a 
wait state to an active state.
One place I notice it is if I su then perform some function, leave the 
process su'd say overnight then the next morning type exit on it.
The 'exit' takes a while to display then once it does, it takes 3-4 
seconds before the previous shell's prompt reappears.
The box is never in swap with it's stats being:

Mem: 133M Active, 236M Inact, 92M Wired, 15M Cache, 60M Buf, 18M Free
Swap: 512M Total, 512M Free

However, it has a number of constantly running processes (graphical 
memory watches, xfishtanks, graphical load watches, etc)

Once the process responds it runs fine until the next long delay. It 
seems more responsive with BETA7 but no where near the same as before 
the scheduler change.
It might be a symptom related to X, will test overnight in console.

Cheers,
    Benjamin

-- 
3D Research Associate / System Administrator     +61 8 8302 3669
School of Computer and Information Science       Room D1-07, ML Campus
University of South Australia                    Mawson Lakes Blvd.
Benjamin.Close_at_cs.unisa.edu.au                   South Australia, 5095
F00D C83D 5F7E 5561 DF91  B74D E602 CAA3 4842 B5B4
Received on Thu Oct 07 2004 - 21:53:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC