perf_rwlock 201802

yoh edited this page Feb 24, 2018 · 3 revisions

Measured with commit 0fd9f09b

Result #1

perf_rwlock-201708-win6c12t perf_rwlock-201708-win6c12t-fair

Environment

  • CPU: Intel Core i7-8700K 3.7GHz (6core/12thread)
  • Mem: 32.0 GB
  • OS: Windows Subsystem for Linux(WSL/Ubuntu) on Windows 10 Pro

Raw data

# StdMutex ncpu=12 nthread=10 task/wait=100/200 duration=5
# Wt/Rd	[raw]	[ops]	[sd]	-	-	-	-
10	14408804	288158	2430.65	-	-	-	-


# FifoMutex ncpu=12 nthread=10 task/wait=100/200 duration=5
# Wt/Rd	[raw]	[ops]	[sd]	-	-	-	-
10	297979	5959.25	1.11511	-	-	-	-


# ReaderPrefer ncpu=12 nthread=10 task/wait=100/200 duration=5
# Write	[raw]	[ops]	[sd]	Read	[raw]	[ops]	[sd]
1	52624	10523.6	0	9	12344253	274286	774.533
2	110356	11034.6	334.569	8	9397302	234911	1025.16
3	185745	12381.9	429.175	7	6193962	176954	780.682
4	283938	14195.6	81.4964	6	3750639	125009	767.155
5	357603	14303.1	241.671	5	2053663	82140.9	469.506
6	445562	14851	668.728	4	1082494	54120.7	281.101
7	467931	13368.4	615.579	3	527428	35159.2	326.117
8	530861	13270.6	398.207	2	223350	22333.4	643.753
9	620058	13778.3	382.833	1	67380	13475.2	0


# WriterPrefer ncpu=12 nthread=10 task/wait=100/200 duration=5
# Write	[raw]	[ops]	[sd]	Read	[raw]	[ops]	[sd]
1	421392	84274.9	0	9	301908	6708.79	74.158
2	867900	86782.3	889.921	8	22890	572.199	20.0159
3	882515	58831.8	1930.75	7	2313	66.0829	5.58429
4	886263	44311.3	2097.12	6	136	4.53315	1.16995
5	899981	35997	1015.06	5	14	0.559964	0.62478
6	879556	29315.5	2784.43	4	10	0.499948	0.519561
7	915873	26165.9	1119.07	3	7	0.466633	0.377097
8	849251	21229.6	1352.06	2	19	1.89985	1.69987
9	840444	18675	418.325	1	10	1.99984	0


# TaskFair ncpu=12 nthread=10 task/wait=100/200 duration=5
# Write	[raw]	[ops]	[sd]	Read	[raw]	[ops]	[sd]
1	68377	13674.8	0	9	639849	14218.2	23.5748
2	85262	8525.4	2.59976	8	340467	8510.87	3.29656
3	109355	7289.91	1.60268	7	254850	7281.01	2.46198
4	136810	6839.53	1.20399	6	204997	6832.26	1.80867
5	163239	6528.67	0.708705	5	163104	6523.27	4.00625
6	191034	6367.47	0.783116	4	127273	6363.32	2.16957
7	214501	6128.1	0.700962	3	91917	6127.3	1.46957
8	241319	6032.54	1.35798	2	60296	6029.16	0.399971
9	265985	5910.32	0.779936	1	29550	5909.54	0


# PhaseFair ncpu=12 nthread=10 task/wait=100/200 duration=5
# Write	[raw]	[ops]	[sd]	Read	[raw]	[ops]	[sd]
1	68106	13620.7	0	9	637537	14166.9	36.8016
2	105380	10537.4	1.39992	8	424659	10615.9	4.92511
3	136637	9108.81	0.984287	7	320068	9144.48	3.31565
4	160938	8046.33	3.01475	6	242551	8084.46	2.32482
5	185222	7408.19	0.872616	5	185912	7435.79	1.80028
6	205331	6843.97	1.52051	4	137172	6858.2	1.97473
7	229591	6559.41	1.52576	3	98597	6572.8	0.524907
8	251992	6299.44	1.4456	2	63122	6311.84	0.999943
9	269678	5992.01	1.04454	1	29966	5992.37	0

Result #2

perf_rwlock-201708-mac2c4t perf_rwlock-201708-mac2c4t-fair

Environment

  • CPU: Intel Core i5-7360U 2.3GHz (2core/4thread)
  • Mem: 8.0 GB
  • OS: macOS Sierra 10.12.6

Raw data

# StdMutex ncpu=4 nthread=10 task/wait=100/200 duration=5
# Wt/Rd	[raw]	[ops]	[sd]	-	-	-	-
10	1103418	22066.4	7.62549	-	-	-	-


# FifoMutex ncpu=4 nthread=10 task/wait=100/200 duration=5
# Wt/Rd	[raw]	[ops]	[sd]	-	-	-	-
10	135253	2704.85	1.46971	-	-	-	-


# ReaderPrefer ncpu=4 nthread=10 task/wait=100/200 duration=5
# Write	[raw]	[ops]	[sd]	Read	[raw]	[ops]	[sd]
1	44	8.79936	0	9	574517	12766.1	0.496868
2	272	27.183	0	8	572391	14300.8	0.673652
3	1217	81.1268	0.410928	7	566855	16194.6	0.783441
4	1366	68.2951	1.09992	6	573774	19124.4	0.65315
5	437	17.4788	0.711008	5	572934	22915.8	1.01502
6	388	12.9323	0.537441	4	566016	28298.5	0.99992
7	3462	98.908	1.28658	3	566431	37759.7	1.71518
8	49214	1230.24	16.9766	2	127223	12721.2	0.89992
9	118008	2622.15	120.981	1	12657	2531.16	0


# WriterPrefer ncpu=4 nthread=10 task/wait=100/200 duration=5
# Write	[raw]	[ops]	[sd]	Read	[raw]	[ops]	[sd]
1	40471	8093.72	0	9	364616	8102.1	2.29662
2	113723	11371.3	16.2985	8	8157	203.907	1.76319
3	115719	7714	418.157	7	3802	108.62	1.1131
4	115095	5754.25	20.4214	6	806	26.8644	0.471364
5	118087	4722.98	92.5485	5	311	12.4387	0.624754
6	118535	3950.84	13.4636	4	1799	89.9425	1.04275
7	118486	3385	106.551	3	427	28.4641	0.618185
8	118345	2958.39	31.641	2	137	13.6989	0.0999921
9	119329	2651.48	26.5488	1	68	13.5986	0


# TaskFair ncpu=4 nthread=10 task/wait=100/200 duration=5
# Write	[raw]	[ops]	[sd]	Read	[raw]	[ops]	[sd]
1	39210	7841.36	0	9	353862	7862.96	3.73422
2	47802	4779.89	0.399974	8	191253	4781.01	0.670311
3	57432	3828.44	0	7	134089	3830.75	0.368082
4	66127	3306.07	0.606167	6	99186	3305.92	0.610959
5	70647	2825.62	0.743974	5	70668	2826.46	0.699649
6	79866	2661.9	0.399955	4	53253	2662.35	1.01354
7	85668	2447.44	0.276986	3	36720	2447.79	0.489855
8	95233	2380.61	0.379933	2	23809	2380.69	0.299973
9	115069	2556.83	0.879868	1	12798	2559.35	0


# PhaseFair ncpu=4 nthread=10 task/wait=100/200 duration=5
# Write	[raw]	[ops]	[sd]	Read	[raw]	[ops]	[sd]
1	39755	7946.66	0	9	359639	7987.61	2.82758
2	59439	5943.48	1.09992	8	238718	5967.53	0.72624
3	72787	4851.9	0.899277	7	170236	4863.31	0.603321
4	80909	4045.13	0.259787	6	121570	4052.02	0.426842
5	88017	3520.42	0.574066	5	88099	3523.7	0.879936
6	94630	3154.14	0.221095	4	63158	3157.71	0.538484
7	97106	2774.2	0.206012	3	41646	2776.14	0.282816
8	101424	2534.99	0.424163	2	25368	2536.19	0.399904
9	104939	2331.75	0.65615	1	11667	2333.17	0
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.