Deprecated: Function libxml_disable_entity_loader() is deprecated since 8.0, as external entity loading is disabled by default in /application/src/init.php on line 167

Deprecated: Return type of Qrequest::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 22

Deprecated: Return type of & Qrequest::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 25

Deprecated: Return type of Qrequest::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 31

Deprecated: Return type of Qrequest::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 35

Deprecated: Return type of Qrequest::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 38

Deprecated: Return type of Qrequest::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 88

Deprecated: Return type of Qrequest::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/qrequest.php on line 91

Deprecated: Creation of dynamic property Qrequest::$cap is deprecated in /application/lib/qrequest.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /application/src/init.php:167) in /application/src/initweb.php on line 45

Warning: session_name(): Session name cannot be changed after headers have already been sent in /application/lib/redirect.php on line 46

Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /application/lib/redirect.php on line 47

Warning: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent in /application/lib/redirect.php on line 60

Warning: session_start(): Session cannot be started after headers have already been sent in /application/lib/redirect.php on line 75

Deprecated: Creation of dynamic property Qrequest::$p is deprecated in /application/lib/qrequest.php on line 42

Deprecated: Creation of dynamic property Qrequest::$paperId is deprecated in /application/lib/qrequest.php on line 42

Deprecated: Return type of PaperInfoSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/paperinfo.php on line 225

Deprecated: Creation of dynamic property PaperInfo::$timeFinalSubmitted is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$timeModified is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$sha1 is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$blind is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$leadContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$shepherdContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$capVersion is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$size is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$mimetype is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$timestamp is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$pdfFormatStatus is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$withdrawReason is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$conflictType is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$myReviewPermissions is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$topicIds is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$optionIds is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$paperTags is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$leadContactId is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$conflictType is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$paperTags is deprecated in /application/src/paperinfo.php on line 303

Deprecated: Creation of dynamic property PaperInfo::$myReviewPermissions is deprecated in /application/src/paperinfo.php on line 303
#17 - Netdev 0x18

Deprecated: Return type of TagAnno::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/tagger.php on line 130

Deprecated: Return type of TagMap::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/lib/tagger.php on line 299
More

PC conflicts

Cong Wang

Submitted


Deprecated: Return type of DocumentInfo::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/documentinfo.php on line 951

[PDF] Submission 23 Jul 2024 10:55:47am UTC · a6ab7da160a0af3cd229e9980f31d9d2b04e10025a3d2c05b427b1eb4420aa9aa6ab7da1

Abstract

In this paper we will share our analysis of jitter caused by the kernel network stack on datacenter applications which are micro architecture by design and distributed in nature. Usually these applications follow an event driven non-blocking design pattern where connections are multiplexed in a thread that implements the event loop using epoll and performs read system calls. The assumption that the thread which calls the read will also consume the data is not always true because the business logic usually runs on a different thread. Following the assumption that reader will consume the data, the datacenter servers are generically configured in a scaled out manner where NIC (Network Interface Card) queues are mapped to all/maximum possible CPUs. This asymmetricity in userspace and symmetricity in kernel space leads to unnecessary context switches and inefficient use of caches.

In this paper we will also share our findings of using asymmetric multi-processing (AMP) strategy on datacenter workloads. Our AMP strategy reserves CPUs for the kernel network stack and isolates applications to the remaining CPUs. The strategy considers various statistics like SoftIRQ load, overall CPU utilisation, packet throughput and latency to dynamically create the set of isolated CPUs. Such separation is known to provide some performance advantages, but our finding suggests that on above explained application design pattern the performance gains are significant. We identified that the AMP strategy leads to better cache efficiency and interference free execution of NAPI (New API) and the application. We will present these details by taking the Redis cluster and Netpoll RPC framework as a case study where throughput per CPU utilisation improvements are 25% and 12% respectively along with a 10% reduction in 99.9 percentile latency. We will also discuss different design options to implement the AMP strategy and role of io-uring to further complete the pipeline model.

Authors (blind)

Satish Kumar (ByteDance) <satish.kumar@bytedance.com>

Fam Zheng (ByteDance) <fam.zheng@bytedance.com>


Deprecated: Return type of ReviewField::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/review.php on line 161

Deprecated: Return type of ReviewForm::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /application/src/review.php on line 512
Submission Type
Talk
Submission Label
Moonshot
Estimated Length Of Time For Presentation (in minutes)
30
Attendance
Physically

To edit this submission, sign in using your email and password.