Commit Graph

2031 Commits

Author SHA1 Message Date
daniel lamb
a1e5c350ec Fixed move task so it respects ErrorIfNotFound option.
[REVIEW] [at]Ryan.Hummer

[CL 31506238 by daniel lamb in ue5-main branch]
2024-02-14 20:30:30 -05:00
ben marsh
ce497b7f85 Horde: Add cancellation tokens to all async methods.
[CL 31503736 by ben marsh in ue5-main branch]
2024-02-14 19:56:54 -05:00
josh adams
6e69f6c890 - Fixed an issue with VisionOS missing SDK.json on WIndows. This is a stopgap method, but removes a crash
#jira UE-206834
#rb josh.adams


#changelist validated
#virtualized

[CL 31477879 by josh adams in ue5-main branch]
2024-02-14 11:49:05 -05:00
ben marsh
13ec8c52d4 Horde: Fix race condition in tracking memory allocator.
[CL 31476326 by ben marsh in ue5-main branch]
2024-02-14 11:25:11 -05:00
ben marsh
35feeff96d Horde: Rename utilization messages.
[CL 31475163 by ben marsh in ue5-main branch]
2024-02-14 11:00:58 -05:00
carl bystrom
99abb5ff7c Horde: Add missing ECDSA case for server compute client
[CL 31467272 by carl bystrom in ue5-main branch]
2024-02-14 07:56:53 -05:00
carl bystrom
3723c9f468 Horde: Add faster ECDSA encryption to compute tasks
- Only create a certificate if encryption is enabled
- If encryption enabled, only create the certificate once even if agent assignment is retried

[CL 31465361 by carl bystrom in ue5-main branch]
2024-02-14 06:54:54 -05:00
josh adams
da536f25a7 - Fixed a static analysis C# issue
#rb josh.adams

[CL 31456322 by josh adams in ue5-main branch]
2024-02-13 19:48:10 -05:00
josh adams
480c53a75c - Fixed Mac and maybe Linux with new SDK.json changes
#rb josh.adams

[CL 31451747 by josh adams in ue5-main branch]
2024-02-13 17:54:31 -05:00
ben marsh
f39ff57a27 Horde: Add controller for manipulating internal Horde accounts.
- Added a new AccountId type to store identifiers for account documents without MongoDB dependency.
- Allow updating password through the update method rather than requiring a separate call.

[FYI] Josh.Engebretson, Carl.Bystrom

[CL 31446391 by ben marsh in ue5-main branch]
2024-02-13 16:21:14 -05:00
ben marsh
20fde2c98a EpicGames.Core: Fix static analysis warnings.
[FYI] Josh.Adams

[CL 31434041 by ben marsh in ue5-main branch]
2024-02-13 12:42:31 -05:00
josh adams
67d747d50a - Moved all versions from *SDK.Versions.cs files to *_SDK.json files
- Some static variables made it tricky, so added some support to make it simpler on users of the static variables
#rb David.Harvey

[CL 31431441 by josh adams in ue5-main branch]
2024-02-13 11:51:53 -05:00
ben marsh
37ac4e8f68 Horde: Fix test failure.
[CL 31423722 by ben marsh in ue5-main branch]
2024-02-13 09:14:35 -05:00
ben marsh
e27d916057 Horde: Static analysis fixes.
[CL 31423652 by ben marsh in ue5-main branch]
2024-02-13 09:12:43 -05:00
ben marsh
3f4ab2002d Horde: Cache fixed size chunks read from bundles, rather than creating separate packet entries in the cache.
Some packets compress very well, so we can add thousands of packets through a single bundle read. This can result in more time spent updating the cache than actually doing useful work. Now reads pages aligned to strict 1mb boundaries and caches them in that form.

Also move purgeable items to a separate list for tracking in the cache, to avoid having to scan until we find a purgeable entry.

[CL 31423038 by ben marsh in ue5-main branch]
2024-02-13 08:58:23 -05:00
ben marsh
7e2b4ad5da Horde: Fix bundle cache not correctly freeing items.
* Removing items from the cache would cause the search to free space to terminate immediately, since the linked list node is updated.
* Calling LinkedList.Remove(T) performs a linear search for the item (!). Passing the node object does not.

[CL 31399003 by ben marsh in ue5-main branch]
2024-02-12 16:35:17 -05:00
ben marsh
1d327afd66 Horde: Allow setting a tag for unmanaged memory allocations that helps identify it for tracking down memory leaks.
[CL 31395941 by ben marsh in ue5-main branch]
2024-02-12 15:40:15 -05:00
carl bystrom
e1b473d318 Horde: Add initial version of status service for the server itself
[CL 31394490 by carl bystrom in ue5-main branch]
2024-02-12 15:01:28 -05:00
ben marsh
435a5f3b8b Horde: Minor refactoring.
* Add better stats for cache and http backend, and name all the stats using dotted identifiers to make grouping easier.
* Fix static analysis warning in EnumerableExtensions.DisposeAll().
* Reorder methods in DirectoryNode.Extract to match order in pipeline.

[CL 31393371 by ben marsh in ue5-main branch]
2024-02-12 14:27:38 -05:00
ben marsh
5e88eaa1e6 Horde: Prefetch all blob data in a separate pipeline step to writing it. Removes any waits on the writer thread apart from actually outputting data.
[CL 31386270 by ben marsh in ue5-main branch]
2024-02-12 11:57:17 -05:00
ben marsh
6df3d67be3 Horde: Improve batching for bundle read requests.
- Was incorrectly flushing any queue with entries assigned to it, rather than only those which were already active.
- Repeatedly taking the largest batch would degrade the queue to a state where buffer was full of individual requests.
- Now just operates as a FIFO queue, but adds new requests to existing buffers before flushing.

[CL 31381832 by ben marsh in ue5-main branch]
2024-02-12 10:13:06 -05:00
ben marsh
10510f106e Horde: Fix bundle cache items not being moved to the front of the LRU list on a hit.
[CL 31380950 by ben marsh in ue5-main branch]
2024-02-12 09:40:16 -05:00
ben marsh
4041303253 Horde: Partition output writes into separate tasks.
[CL 31375017 by ben marsh in ue5-main branch]
2024-02-11 20:09:42 -05:00
ben marsh
0a22912e21 Horde: Fix file object store failing to catch exceptions when moving temp files into final locations.
[CL 31374974 by ben marsh in ue5-main branch]
2024-02-11 20:00:50 -05:00
ben marsh
e47c4ce361 Horde: Improve cancellation handling when prefetching data.
[CL 31374765 by ben marsh in ue5-main branch]
2024-02-11 19:05:12 -05:00