KubeCon2020/大型Kubernetes集群的资源编排优化of cluster nodes ? Dynamic-Scheduler Node1 Node2 Kube-scheduler Pod Request Load Level Request Load Level Real Load Level Real Load Level Assigned to Node2 The native K8S scheduling is based on Dynamic-Scheduler Node1 Node2 Kube-scheduler Pod Request Load Level Request Load Level Real Load Level Real Load Level Assigned to Node1 Dynamic-scheduler Node1 has a lower load Dynamic-Scheduler Node1 Node2 Dynamic-scheduler- node-annotator 5m Load Prometheus 1h Load 1d Load 5m Load 1h Load 1d Load telegraf Record to node annotation telegraf Dynamic-Scheduler Predicate Node2 Node3 Node1 5m Load0 码力 | 27 页 | 3.91 MB | 1 年前3
C++20: An (Almost) Complete Overviewcomputations Event driven applications17 Coroutines C++20 contains language additions to support coroutines Standard Library does not yet include helper classes such as generators Visual exceptions33 constexpr string & vector std::string and std::vector are now constexpr Needed to support constexpr reflection in the future “C++20 STL Features: One Year of Development on GitHub” -- Stephan Smart Pointers templateclass concurrent_stack { struct Node { T t; shared_ptr<Node> next; }; atomic_shared_ptr<Node> head; // in C++11: remove "atomic_" and use special // functions 0 码力 | 85 页 | 512.18 KB | 6 月前3
Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!templatestruct Stack { struct Node { T t; shared_ptr<Node> next; }; atomic Node>> head; void push_front(T t) { auto p = make_shared<Node>(std::move(t), head.load()); std::atomic cctrl; atomic > Hang on… that’s 16 bytes • Rely on hardware support for 16-byte atomics. • Generally ubiquitous and widely available. • std::atomic might not work… different atomic ! struct Node { T t; shared_ptr<Node> next; }; atomic Node>> head; void push_front(T t) { auto p = make_shared<Node>(std::move(t), head.load()); 0 码力 | 45 页 | 5.12 MB | 6 月前3
NativeScript 101did NativeScript come to be? Swift/Obj-C Java .NET We ❤ Web. But… We need: • Better offline support • Access to all device APIs • Home screen availability • Push notifications • App monetization created with JS/TypeScript • Angular Support (or not ?) • 100% Day 0 API Access • Everything Runs on UI Thread* • Plugins created with native code • React Support • API Access via Native Modules • UI still available at JavaScript layer for platform-specific scenarios o NativeScript modules follow Node module conventions (CommonJS) Example: NativeScript file module BUT HOW DO I TURN THIS INTO0 码力 | 90 页 | 40.11 MB | 1 年前3
Bringing Existing Code to CUDA Using constexpr and std::pmrblock_size>>>(N, x, y); // … } Ok, about the kernel parameters 10 |Memory“In a typical PC or cluster node today, the memories of the CPU and GPU are physically distinct and separated by the PCI-Express y[i][j]; } Using constexpr 42 |constexpr ALL the Things! 43 |• std library • GSL Guidelines Support Library • … constexpr Opens Up Third Party Libraries 44 |• Your existing code should be tested Providing a way to instrument your code and identify inefficiencies. • Requires your std library support std::pmr. 48 |constexpr • constexpr expands the set of functions available to the GPU. • May improve0 码力 | 51 页 | 3.68 MB | 6 月前3
唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023platform ➔ On the server side, it is a network, consisting of some/many nodes ➔ Every node has a blockchain node in it What An Open Data App Feels Like? “EightFish is a development framework (maybe Protocol node 1 node 2 node 3 node 4 node … Protocol 1 node 1 node 2 node 3 node 4 node … Protocol 2 One Protocol Supports Multiple Applications node 1 node 2 node 3 node 4 node0 码力 | 30 页 | 2.53 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 10 从稀疏数据结构到量化数据类型Storage ) http://www.netlib.org/linalg/html_templates/node91.html 按行压缩( Compressed Row Storage ) http://www.netlib.org/linalg/html_templates/node91.html 第 1 章:稀疏网格 稠密网格计算粒子经过的格点数量 改用更小的 char 存储 只用一个 有了无边界的稀疏网格,再也不用担心二维数组要分配多大了。 坐标可以无限延伸,甚至可以是负数!比如 (-1,2) 等…… 他会自动在写入时分配 16x16 的子网格,称之为叶节点 (leaf node) ,而这里的 unordered_map 就是充当根节点 (root node) 。 图片解释稀疏的好处 传统稠密二维数组 无边界稀疏分块哈希表 此外,还是按需分配内存,即使被写入的部分奇形怪状也不会浪费内存。 这些被写入的部分被称为激活元素0 码力 | 102 页 | 9.50 MB | 1 年前3
Автоматизация управления ClickHouse-кластерами в Kubernetescom/Altinity/clickhouse-operator/master/manifests/oper ator/clickhouse-operator-install.yaml Single-node “cluster” apiVersion: "clickhouse.altinity.com/v1" kind: "ClickHouseInstallation" metadata: name: имеющийся ZK cluster Install Zookeeper: manifests/zookeeper/quick-start-persistent-volume/zookeeper-1-node-create.sh Replication apiVersion: "clickhouse.altinity.com/v1" kind: "ClickHouseInstallation" metadata:0 码力 | 44 页 | 2.24 MB | 1 年前3
C++23: An Overview of Almost All New and Updated Featuresstd::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection Support7 Explicit Object Parameters Instead of implicit this, explicitly specify the object parameter std::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection Support13 if consteval Syntax: if consteval { /* A */ } else { /* B */ } No condition Braces are std::to_underlying() Associative Containers Heterogeneous Erasure Removed Features Garbage Collection Support17 Multidimensional Subscript Operator In the past, two options for accessing multidimensional0 码力 | 105 页 | 759.96 KB | 6 月前3
新一代分布式高性能图数据库的构建 - 沈游人双重执行模式 • 单机和分布式两套计算系统,在不同的使用 环境中都能达到最佳性能 针对常用算法逐个设计优化方案 • 对于常用算法,跳过固定的编程模型,分 别设计最佳的计算方案 • 例如我们自研的 node2vec 采样算法比现 有技术快了 1 个数量级 海致图计算平台特点 AtlasML 极致的性能 • 支持 CPU/GPU 等异构设备训练 • 特殊设计的高性能图算子库 丰富的算法库0 码力 | 38 页 | 24.68 MB | 1 年前3
共 28 条
- 1
- 2
- 3
相关搜索词
KubeCon2020大型Kubernetes集群资源编排优化C++20AnAlmostCompleteOverviewLockFreeAtomicSharedPointersWithoutSplitReferenceCountItCanBeDoneNativeScript101pptxBringingExistingCodetoCUDAUsingconstexprandstdpmr唐刚UseRustDeveloptheDecentralizedOpenDataApplicationRustChinaConf2023高性性能高性能并行编程课件10kubernetesClickHouse23ofAllNewUpdatedFeatures游人RustCCAtlasGraph













