-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mesh loading optimizations #3488
Labels
Comments
akleshchev
added
enhancement
New feature or request
triage
Flags issues that need to be triaged
labels
Jan 29, 2025
akleshchev
added a commit
that referenced
this issue
Jan 30, 2025
LLMeshHeaderHandler preallocates file with empty data, there is no point reading large empty sections so write presense flags at the start of the file
akleshchev
added a commit
that referenced
this issue
Jan 30, 2025
LLMeshHeaderHandler preallocates file with empty data, there is no point reading large empty sections so write presense flags at the start of the file
akleshchev
added a commit
that referenced
this issue
Jan 30, 2025
LLMeshHeaderHandler preallocates file with empty data, there is no point reading large empty sections so write presense flags at the start of the file
akleshchev
added a commit
that referenced
this issue
Jan 30, 2025
LLMeshHeaderHandler preallocates file with empty data, there is no point reading large empty sections so write presense flags at the start of the file
akleshchev
added a commit
that referenced
this issue
Jan 30, 2025
LLMeshHeaderHandler preallocates file with empty data, there is no point reading large empty sections so write presense flags at the start of the file
akleshchev
added a commit
that referenced
this issue
Jan 31, 2025
akleshchev
added a commit
that referenced
this issue
Jan 31, 2025
LLMeshHeaderHandler preallocates file with empty data, there is no point reading large empty sections so write presense flags at the start of the file
akleshchev
added a commit
that referenced
this issue
Jan 31, 2025
akleshchev
added a commit
that referenced
this issue
Jan 31, 2025
Request was sent and handle is valid, save it
akleshchev
added a commit
that referenced
this issue
Jan 31, 2025
Tracy shows that thread waits a lot on mutexes. Split in and out mutexes, so that new work can be scheduled by main thread without blocking handling
Performance wise just resolving some mutexes and fixing extra disk reads turned to be surprisingly effective. "wait" is the thread having free time instead of a solid line of 'mesh_thread_loop'. |
akleshchev
added a commit
that referenced
this issue
Feb 3, 2025
Tracy shows that thread waits a lot on mutexes. Split in and out mutexes, so that new work can be scheduled by main thread without blocking handling
akleshchev
added a commit
that referenced
this issue
Feb 3, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
Skin info parsing is expensive, offload to thread pool
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
Skin info parsing is expensive, offload to thread pool
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
Skin info parsing is expensive, offload to thread pool
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
Skin info parsing is expensive, offload to thread pool
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 4, 2025
akleshchev
added a commit
that referenced
this issue
Feb 5, 2025
akleshchev
added a commit
that referenced
this issue
Feb 6, 2025
akleshchev
added a commit
that referenced
this issue
Feb 6, 2025
akleshchev
added a commit
that referenced
this issue
Feb 6, 2025
akleshchev
added a commit
that referenced
this issue
Feb 6, 2025
akleshchev
added a commit
that referenced
this issue
Feb 6, 2025
akleshchev
added a commit
that referenced
this issue
Feb 7, 2025
akleshchev
added a commit
that referenced
this issue
Feb 7, 2025
akleshchev
added a commit
that referenced
this issue
Feb 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mesh thread is very busy on a region of moderate size on AMD Ryzen 7 3800X
Fix disk usage
Mesh thread reads from disk to check if file in cashe has data and reads whole lod segment in one go only then requests data from network. Disk operations are expensive so it's better to minimize them and only read disk when it's has something to read. Like when we are reading header, get information about presense of lods too.
Threading
Thread appears to be busy all the time, which should be affecting speed of processing meshes negatively. A lot of expensive operations, like meshes' cacheOptimize don't need to happen here
Doublecheck mutexes
The text was updated successfully, but these errors were encountered: