• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-3878
Type: Bug Bug
Status: Reopened Reopened
Priority: Normal Normal
Assignee: Unassigned
Reporter: Nicholaz Beresford
Votes: 29
Watchers: 18
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

Purging cache textures causes viewer. to pause for many seconds, with heavy disk activity

Created: 17/Dec/07 07:27 AM   Updated: 22/Oct/09 10:50 AM
Return to search
Component/s: Performance
Affects Version/s: 1.20 Release Candidate, 1.18.4.3, 1.18.5.3, 1.21 Release Candidate
Fix Version/s: None

File Attachments: 1. Text File 0001_texture_cache_hiccups.v2.patch (4 kB)

Issue Links:
Duplicate
 
Relates

Last Triaged: 22/Oct/09 06:39 PM
Linden Lab Issue ID: DEV-8800
Patch attached: Patch attached


 Description  « Hide
From the (original Linden) source code (lltexturecache.cpp):

// NOTE: This may cause an occasional hiccup,
// but it really needs to be done on the control thread
// (i.e. here)
purgeTextures(false);
mDoPurge = FALSE;

These hiccups on large caches or fragmented hard drives can take anywhere from 10 seconds to as long as two minutes. Depending on how much the avatar travels, they can happen multiple times a day. They completely lock up the viewer and when taking longer periods of time, they will cause a viewer disconnect. They are one of the reasons of VWR-2051 (a couple of users who reported the hangs there say that these don't occur anymore in my builds).

The patch, instead of immediately physically deleting the files, pushes the file names into a list of files to delete and then calls a function to process the list in a time sliced way.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Nicholaz Beresford made changes - 17/Dec/07 07:28 AM
Field Original Value New Value
Link This issue Relates to VWR-2051 [ VWR-2051 ]
Nicholaz Beresford made changes - 17/Dec/07 07:57 AM
Description From the source code (lltexturecache.cpp):

// NOTE: This may cause an occasional hiccup,
// but it really needs to be done on the control thread
// (i.e. here)
purgeTextures(false);
mDoPurge = FALSE;


These hiccups on large caches or fragmented hard drives can take anywhere from 10 seconds to as long as two minutes. Depending on how much the avatar travels, they can happen multiple times a day. They completely lock up the viewer and when taking longer periods of time, they will cause a viewer disconnect. They are one of the reasons of VWR-2051 (a couple of users who reported the hangs there say that these don't occur anymore in my builds).

The patch, instead of immediately physically deleting the files, pushes the file names into a list of files to delete and then calls a function to process the list in a time sliced way.

From the (original Linden) source code (lltexturecache.cpp):

// NOTE: This may cause an occasional hiccup,
// but it really needs to be done on the control thread
// (i.e. here)
purgeTextures(false);
mDoPurge = FALSE;


These hiccups on large caches or fragmented hard drives can take anywhere from 10 seconds to as long as two minutes. Depending on how much the avatar travels, they can happen multiple times a day. They completely lock up the viewer and when taking longer periods of time, they will cause a viewer disconnect. They are one of the reasons of VWR-2051 (a couple of users who reported the hangs there say that these don't occur anymore in my builds).

The patch, instead of immediately physically deleting the files, pushes the file names into a list of files to delete and then calls a function to process the list in a time sliced way.

Rob Linden made changes - 22/Dec/07 02:24 AM
Workflow jira [ 17873 ] jira-2007-12-21 [ 25405 ]
Rob Linden made changes - 22/Dec/07 02:35 AM
Workflow jira [ 25405 ] jira-2007-12-21 [ 26081 ]
Rob Linden made changes - 22/Dec/07 03:22 PM
Workflow jira-2007-12-21 [ 26081 ] jira-2007-12-22 [ 32311 ]
Rob Linden made changes - 22/Dec/07 03:44 PM
Workflow jira-2007-12-21 [ 32311 ] jira-2007-12-22 [ 34380 ]
Rob Linden made changes - 22/Dec/07 08:40 PM
Workflow jira-2007-12-22 [ 34380 ] jira-2007-12-22a [ 39508 ]
Rob Linden made changes - 22/Dec/07 09:56 PM
Workflow jira-2007-12-22 [ 39508 ] jira-2007-12-22a [ 43475 ]
Rob Linden made changes - 22/Dec/07 10:19 PM
Workflow jira-2007-12-22 [ 43475 ] jira-2007-12-22a [ 44829 ]
lindenrobot made changes - 15/Jan/08 04:24 PM
Linden Lab Issue ID DEV-8800
Nicholaz Beresford made changes - 15/Apr/08 03:40 AM
Status Open [ 1 ] Closed [ 6 ]
Resolution Won't Finish [ 2 ]
Coyote Pace made changes - 15/Apr/08 05:03 AM
Resolution Won't Finish [ 2 ]
Status Closed [ 6 ] Reopened [ 4 ]
Coyote Pace made changes - 15/Apr/08 05:06 AM
Affects Version/s 1.19.1.4 [ 10290 ]
Summary Purging cache textures causes hiccup in viewer. Purging cache textures causes viewer. to pause for many seconds, with heavy disk activity
Hypatia Callisto made changes - 07/May/08 07:24 PM
Link This issue Relates to VWR-6343 [ VWR-6343 ]
Hypatia Callisto made changes - 08/May/08 02:46 PM
Affects Version/s 1.20 Release Candidate [ 10300 ]
Affects Version/s 1.19.1.4 [ 10290 ]
Hypatia Callisto made changes - 08/May/08 02:46 PM
Affects Version/s 1.19.1.4 [ 10290 ]
Affects Version/s 1.20 Release Candidate [ 10300 ]
Hypatia Callisto made changes - 08/May/08 02:47 PM
Affects Version/s 1.19.0.5 [ 10260 ]
Affects Version/s 1.20 Release Candidate [ 10300 ]
Soft Linden made changes - 05/Jun/08 04:39 PM
Last Triaged 05/Jun/08 06:39 PM
Soft Linden made changes - 24/Jul/08 09:18 AM
Last Triaged 05/Jun/08 06:39 PM 24/Jul/08 06:39 PM
Rob Linden made changes - 18/Sep/08 02:36 PM
Component/s Performance [ 10025 ]
Component/s Source Code [ 10081 ]
Soft Linden made changes - 18/Sep/08 02:36 PM
Component/s Graphics [ 10023 ]
Component/s Performance [ 10025 ]
Soft Linden made changes - 18/Sep/08 02:37 PM
Component/s Performance [ 10025 ]
Component/s Graphics [ 10023 ]
Soft Linden made changes - 18/Sep/08 02:37 PM
Last Triaged 24/Jul/08 06:39 PM 18/Sep/08 06:39 PM
Coyote Pace made changes - 19/Sep/08 09:41 AM
Affects Version/s 1.21 Release Candidate [ 10360 ]
Affects Version/s 1.19.0.5 [ 10260 ]
Affects Version/s 1.19.1.4 [ 10290 ]
Kraelen Redgrave made changes - 26/Oct/08 12:51 PM
Link This issue is original of duplicate VWR-9447 [ VWR-9447 ]
Soft Linden made changes - 13/Nov/08 09:01 AM
Last Triaged 18/Sep/08 06:39 PM 13/Nov/08 06:39 PM
Sue Linden made changes - 13/Nov/08 11:09 AM
Workflow jira-2007-12-22a [ 44829 ] jira-2008-11-14 [ 64945 ]
Sue Linden made changes - 13/Nov/08 11:31 AM
Workflow jira-2007-12-22a [ 64945 ] jira-2008-11-14 [ 73138 ]
Sue Linden made changes - 13/Nov/08 05:03 PM
Workflow jira-2008-11-14 [ 73138 ] jira-2008-11-14a [ 98234 ]
Sue Linden made changes - 13/Nov/08 05:18 PM
Workflow jira-2008-11-14 [ 98234 ] jira-2008-11-14a [ 103848 ]
Sue Linden made changes - 13/Nov/08 05:27 PM
Workflow jira-2008-11-14 [ 103848 ] jira-2008-11-14a [ 107698 ]
Sue Linden made changes - 13/Nov/08 05:44 PM
Workflow jira-2008-11-14 [ 107698 ] jira-2008-11-14a [ 113220 ]
Sue Linden made changes - 13/Nov/08 06:15 PM
Workflow jira-2008-11-14 [ 113220 ] jira-2008-11-14a [ 124331 ]
Sue Linden made changes - 13/Nov/08 06:42 PM
Workflow jira-2008-11-14 [ 124331 ] jira-2008-11-14a [ 134510 ]
Sue Linden made changes - 13/Nov/08 07:00 PM
Workflow jira-2008-11-14 [ 134510 ] jira-2008-11-14a [ 141783 ]
meni kaiousei made changes - 23/Dec/08 12:40 AM
Link This issue is related to by MISC-924 [ MISC-924 ]
Rob Linden made changes - 19/Feb/09 03:41 PM
Last Triaged 13/Nov/08 06:39 PM 19/Feb/09 06:39 PM
Soft Linden made changes - 30/Apr/09 01:49 PM
Assignee Merov Linden [ Merov Linden ]
Soft Linden made changes - 30/Apr/09 01:49 PM
Last Triaged 19/Feb/09 06:39 PM 30/Apr/09 06:39 PM
Alexa Linden made changes - 13/Aug/09 10:46 AM
Last Triaged 30/Apr/09 06:39 PM 13/Aug/09 06:39 PM
Alexa Linden made changes - 22/Oct/09 10:50 AM
Last Triaged 13/Aug/09 06:39 PM 22/Oct/09 06:39 PM
Assignee Merov Linden [ Merov Linden ]