日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux多内核调度,linux-kernel – 如何在Linux内核(Samsung Exynos5422)中实现异构多处理(HMP)调度?...

發布時間:2023/12/4 linux 48 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux多内核调度,linux-kernel – 如何在Linux内核(Samsung Exynos5422)中实现异构多处理(HMP)调度?... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

碼:

檢查#ifdef CONFIG_SCHED_HMP下的源代碼主要在kernel/sched/core.c之內

A(不是那樣)簡要概述:

big.LITTLE cpu可以配置為2種操作模式:

> IKS – 內核切換器(也稱為cpu遷移)

> GTS – 全局任務調度(也稱為big.LITTLE MP)

GTS是異構的操作形式,即HMP.

在最抽象的級別,HMP目前僅通過擴展DVFS和SMP負載平衡來支持.這兩者都充分了解大核(通過LITTLE核心)的性能優勢,并相應地安排高優先級,cpu密集型前臺任務.

Dynamic voltage and frequency scaling (DVFS) is used to adapt to instantaneous changes in required performance. The migration modes of big.LITTLE extends this concept by enabling a transition to “big” cpu cores above the highest DVFS operating point of the LITTLE cores. The migration takes about 30 microseconds. By contrast,the DVFS driver evaluates the performance of the OS and the individual cores typically every 50 milliseconds,although some implementations sample slightly more frequently. It takes about 100 microseconds to change voltage and frequency. Because the time taken to migrate a cpu or a cluster is shorter than the DVFS change time and an order of magnitude shorter than the OS evaluation period for DVFS changes,big.LITTLE transitions will enable the processors to run at lower operating points,more frequently,and further,be completely invisible to the user.

In the Global Task Scheduling model,the DVFS mechanisms are still in operation,but the operating system kernel scheduler is aware of the big and LITTLE cores in the system and seeks to load balance high performance threads to high performance cores,and low performance or memory bound threads to the high efficiency cores. This is similar to SMP load balancers today,that automatically balance threads across the cores available in the system,and idle unused cores. In big.LITTLE Global Task Scheduling,the same mechanism is in operation,but the OS keeps track of the load history of each thread and uses that history plus real-time performance sampling to balance threads appropriately among big and LITTLE cores.

創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎

總結

以上是生活随笔為你收集整理的linux多内核调度,linux-kernel – 如何在Linux内核(Samsung Exynos5422)中实现异构多处理(HMP)调度?...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。