401 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

[OLK-6.6] optimize wake_up_new_task

待办的
任务
创建于  
2024-05-06 22:25

评论 (2)

jackyzt 创建了任务

Hi jackyzt, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

本补丁优化效果:
unixbench
基线:

Benchmark Run: Tue May 07 2024 14:43:17 - 14:52:19
0 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       41898849.1 lps   (10.0 s, 2 samples)
Double-Precision Whetstone                     4426.3 MWIPS (10.0 s, 2 samples)
Execl Throughput                               2828.8 lps   (29.8 s, 1 samples)
File Copy 1024 bufsize 2000 maxblocks        837180.0 KBps  (30.0 s, 1 samples)
File Copy 256 bufsize 500 maxblocks          256669.0 KBps  (30.0 s, 1 samples)
File Copy 4096 bufsize 8000 maxblocks       2264169.0 KBps  (30.0 s, 1 samples)
Pipe Throughput                             1101364.7 lps   (10.0 s, 2 samples)
Pipe-based Context Switching                 136573.4 lps   (10.0 s, 2 samples)
Process Creation                               6031.7 lps   (30.1 s, 1 samples)
Shell Scripts (1 concurrent)                   5875.9 lpm   (60.1 s, 1 samples)
Shell Scripts (8 concurrent)                   2567.1 lpm   (60.0 s, 1 samples)
System Call Overhead                        1065481.3 lps   (10.0 s, 2 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   41898849.1   3590.3
Double-Precision Whetstone                       55.0       4426.3    804.8
Execl Throughput                                 43.0       2828.8    657.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     837180.0   2114.1
File Copy 256 bufsize 500 maxblocks            1655.0     256669.0   1550.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    2264169.0   3903.7
Pipe Throughput                               12440.0    1101364.7    885.3
Pipe-based Context Switching                   4000.0     136573.4    341.4
Process Creation                                126.0       6031.7    478.7
Shell Scripts (1 concurrent)                     42.4       5875.9   1385.8
Shell Scripts (8 concurrent)                      6.0       2567.1   4278.5
System Call Overhead                          15000.0    1065481.3    710.3
                                                                   ========
System Benchmarks Index Score                                        1252.0

本补丁优化效果

Benchmark Run: Tue May 07 2024 09:43:04 - 09:52:05
0 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       41832459.9 lps   (10.0 s, 2 samples)
Double-Precision Whetstone                     4426.6 MWIPS (10.0 s, 2 samples)
Execl Throughput                               2675.8 lps   (29.1 s, 1 samples)
File Copy 1024 bufsize 2000 maxblocks        919862.0 KBps  (30.0 s, 1 samples)
File Copy 256 bufsize 500 maxblocks          274966.0 KBps  (30.0 s, 1 samples)
File Copy 4096 bufsize 8000 maxblocks       2350539.0 KBps  (30.0 s, 1 samples)
Pipe Throughput                             1182284.3 lps   (10.0 s, 2 samples)
Pipe-based Context Switching                 155034.4 lps   (10.0 s, 2 samples)
Process Creation                               6371.9 lps   (30.0 s, 1 samples)
Shell Scripts (1 concurrent)                   5797.9 lpm   (60.1 s, 1 samples)
Shell Scripts (8 concurrent)                   2576.7 lpm   (60.0 s, 1 samples)
System Call Overhead                        1128173.1 lps   (10.0 s, 2 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   41832459.9   3584.6
Double-Precision Whetstone                       55.0       4426.6    804.8
Execl Throughput                                 43.0       2675.8    622.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     919862.0   2322.9
File Copy 256 bufsize 500 maxblocks            1655.0     274966.0   1661.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    2350539.0   4052.7
Pipe Throughput                               12440.0    1182284.3    950.4
Pipe-based Context Switching                   4000.0     155034.4    387.6
Process Creation                                126.0       6371.9    505.7
Shell Scripts (1 concurrent)                     42.4       5797.9   1367.4
Shell Scripts (8 concurrent)                      6.0       2576.7   4294.4
System Call Overhead                          15000.0    1128173.1    752.1
                                                                   ========
System Benchmarks Index Score                                        1299.1

输入图片说明

lmbench

Processor, Processes - times in microseconds - smaller is better
------------------------------------------------------------------------------
Host                 OS  Mhz null null      open slct sig  sig  fork exec sh  
                             call  I/O stat clos TCP  inst hndl proc proc proc
--------- ------------- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
localhost  Linux 6.6.0+ 2600 0.14 0.21 1.09 1.92 2.65 0.22 1.05 435. 1994 2989
localhost  Linux 6.6.0+ 2600 0.14 0.22 1.14 1.95 2.65 0.22 1.06 427. 1991 2985
localhost  Linux 6.6.0+ 2600 0.15 0.23 1.07 1.95 2.73 0.25 1.15 457. 2008 3062

第2行是优化效果,第3行是基线数据。

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助