Skip to content
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

[wasm] Excessive syscalls during DLL load #107883

Open
pavelsavara opened this issue Sep 16, 2024 · 1 comment
Open

[wasm] Excessive syscalls during DLL load #107883

pavelsavara opened this issue Sep 16, 2024 · 1 comment
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono os-wasi Related to WASI variant of arch-wasm
Milestone

Comments

@pavelsavara
Copy link
Member

stat-at call self_=Resource { rep: 3, state: "borrow" } path_flags=(SYMLINK_FOLLOW) path="System.Collections.Concurrent.dll"
stat-at return result=Err(no-entry (error 20))
stat-at call self_=Resource { rep: 3, state: "borrow" } path_flags=(SYMLINK_FOLLOW) path="System.Collections.Concurrent.exe"
stat-at return result=Err(no-entry (error 20))
stat-at call self_=Resource { rep: 3, state: "borrow" } path_flags=(SYMLINK_FOLLOW) path="System.Collections.Concurrent/System.Collections.Concurrent.dll"
stat-at return result=Err(no-entry (error 20))
stat-at call self_=Resource { rep: 3, state: "borrow" } path_flags=(SYMLINK_FOLLOW) path="System.Collections.Concurrent/System.Collections.Concurrent.exe"
stat-at return result=Err(no-entry (error 20))
stat-at call self_=Resource { rep: 3, state: "borrow" } path_flags=(SYMLINK_FOLLOW) path="managed/System.Collections.Concurrent.dll"
stat-at return result=Ok(DescriptorStat { type: DescriptorType::RegularFile, link-count: 1, size: 30208, data-access-timestamp: Some(Datetime { seconds: 1726513157, nanoseconds: 715465600 }), data-modification-timestamp: Some(Datetime { seconds: 1726513156, nanoseconds: 300857300 }), status-change-timestamp: Some(Datetime { seconds: 1726497931, nanoseconds: 307419700 }) })
metadata-hash-at call self_=Resource { rep: 3, state: "borrow" } path_flags=(SYMLINK_FOLLOW) path="managed/System.Collections.Concurrent.dll"
metadata-hash-at return result=Ok(MetadataHashValue { lower: 11390756488781345111, upper: 16005011699397401679 })
readlink-at call self_=Resource { rep: 3, state: "borrow" } path="managed"
readlink-at return result=Err(invalid (error 12))
readlink-at call self_=Resource { rep: 3, state: "borrow" } path="managed/System.Collections.Concurrent.dll"
readlink-at return result=Err(invalid (error 12))
readlink-at call self_=Resource { rep: 3, state: "borrow" } path="managed"
readlink-at return result=Err(invalid (error 12))
readlink-at call self_=Resource { rep: 3, state: "borrow" } path="managed/System.Collections.Concurrent.dll"
readlink-at return result=Err(invalid (error 12))
get-flags call self_=Resource { rep: 3, state: "borrow" }
get-flags return result=Ok((READ|MUTATE_DIRECTORY))
get-type call self_=Resource { rep: 3, state: "borrow" }
get-type return result=Ok(DescriptorType::Directory)
open-at call self_=Resource { rep: 3, state: "borrow" } path_flags=(SYMLINK_FOLLOW) path="managed/System.Collections.Concurrent.dll" open_flags=() flags=(READ)
open-at return result=Ok(Resource { rep: 6, state: "own (not in table)" })
get-type call self_=Resource { rep: 6, state: "borrow" }
get-type return result=Ok(DescriptorType::RegularFile)
stat call self_=Resource { rep: 6, state: "borrow" }
stat return result=Ok(DescriptorStat { type: DescriptorType::RegularFile, link-count: 1, size: 30208, data-access-timestamp: Some(Datetime { seconds: 1726513157, nanoseconds: 715465600 }), data-modification-timestamp: Some(Datetime { seconds: 1726513156, nanoseconds: 300857300 }), status-change-timestamp: Some(Datetime { seconds: 1726497931, nanoseconds: 307419700 }) })
metadata-hash call self_=Resource { rep: 6, state: "borrow" }
metadata-hash return result=Ok(MetadataHashValue { lower: 11390756488781345111, upper: 16005011699397401679 })
read call self_=Resource { rep: 6, state: "borrow" } length=30208 offset=0
read return result=Ok
readlink-at call self_=Resource { rep: 3, state: "borrow" } path="managed"
readlink-at return result=Err(invalid (error 12))
readlink-at call self_=Resource { rep: 3, state: "borrow" } path="managed/System.Collections.Concurrent.dll"
readlink-at return result=Err(invalid (error 12))
get-flags call self_=Resource { rep: 3, state: "borrow" }
get-flags return result=Ok((READ|MUTATE_DIRECTORY))
get-type call self_=Resource { rep: 3, state: "borrow" }
get-type return result=Ok(DescriptorType::Directory)
open-at call self_=Resource { rep: 3, state: "borrow" } path_flags=(SYMLINK_FOLLOW) path="managed/System.Collections.Concurrent.dll.so.la" open_flags=() flags=(READ)
open-at return result=Err(no-entry (error 20))
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-VM-meta-mono os-wasi Related to WASI variant of arch-wasm labels Sep 16, 2024
@pavelsavara pavelsavara added this to the 10.0.0 milestone Sep 16, 2024
@pavelsavara pavelsavara self-assigned this Sep 16, 2024
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

akoeplinger added a commit that referenced this issue Sep 17, 2024
We don't use libtool files anymore.
Contributes to #107883
jtschuster pushed a commit to jtschuster/runtime that referenced this issue Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono os-wasi Related to WASI variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

1 participant