[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3541.0. "backing store with DS 5000 PX / UWS 4.0" by MUNICH::WENDL () Mon Oct 29 1990 05:19

    Ultrix/UWS 4.0, DS 5000/200 PX
    
    A customers system performs much faster with backing store *DIS*abled
    (in /etc/ttys: ":0 ... X... -bs -su").
    
    I thought the (main) memory would be used if the off-screen (pixmap)
    area is full. But even on a 64Meg-system there's *DISC* activity with
    the first few windows!
    
    Is there a (known) backing store bug/problem? Any help welcome!
    
    Uli
T.RTitleUserPersonal
Name
DateLines
3541.1OXNARD::KLEEKen LeeMon Oct 29 1990 12:428
    Not using backing store will be faster because the server does not have
    to draw to the backing store as well as the display.
    
    I'm not sure what your disk activity is, but you could just be paging
    in something.
    
    Ken
    
3541.2info on usage of backing store/save underMUNICH::WENDLTue Oct 30 1990 07:339
    Thanks for the prompt answer. Thought backing store should *improve*
    performance.
    Would a pure Xlib program be able to access e.g. a 48 bit plane? -
    Automatically??
    I've Paul Jensen's "A Guided Tour of ... PX Graphics Option"; but
    is there a (good?) documentation/paper on (correctly/useful) usage
    of backing store (save under? differences??)? Scheifler/Gettys as
    well as Asente/Swick are not so informative in this respect! 
    Uli
3541.3OXNARD::KLEEKen LeeTue Oct 30 1990 12:2812
    Backing store has been discussed somewhat either here or in the X
    conference.  In general, backing store decreases performance of drawing
    but improves performance of refreshing (after exposure).  If you can
    quickly refresh the display yourself (e.g., text or simple line
    drawing), you should not use backing store and instead redraw after
    exposure.  If your drawing is very complex and you expect many
    exposures, you should use backing store (if available).  There's a
    large middle ground where you have to trade off the reduced performance
    (and increased memory use) of backing store with the faster redisplay.
    
    Ken
    
3541.4STAR::KLEINSORGEFred Kleinsorge, VMS DevelopmentTue Oct 30 1990 14:2925
    Backing store milage may vary.  That is, backing store performance
    impact will vary depending on the hardware, and the amount of work
    that went into the implementation.
    
    A truly dumb backing store implementation would always update backing
    store regardless of the visibility of the window.  A more intellegent
    design might maintain only those parts that are obscured.  Some backing
    store designs might allocate a Pixmap of the same size as the window -
    and backing store updates could cause Pixmap thrashing.  While others
    might create a number of smaller pixmaps for backing store, reducing
    Pixmap resource contention problems, but possibly increasing backing
    store update time.
    
    Since backing store is provided as a "optimization" and may be
    withdrawn at any time, this does not eliminate the need for the
    client to maintain it's own ability to regenerate.  If the client
    truly does "regenerate" rather than maintaining it's own flavor of
    backing store (via Pixmap, display list or such) - then Backing Store
    *can* be a win.  Especially if the implementation is relatively fast,
    and the regeneration time is relatively high.  A CAD application
    (say like a PC board layout tool) is an example where most of the
    screen is used, the cost to retrieve and redraw thousands of vectors
    is high.