Liste des Groupes | Revenir à cl c++ |
Some timings with 128 reader threadsI figured out where the smr vs smrlite overhead is likely coming from.
unsafe 52.983 nsecs ( 0.000) 860.576 nsecs ( 0.000)
smr 54.714 nsecs ( 1.732) 882.356 nsecs ( 21.780)
smrlite 53.149 nsecs ( 0.166) 870.066 nsecs ( 9.490)
arc 739.833 nsecs ( 686.850) 11,988.289 nsecs ( 11,127.713)
rwlock 1,078.306 nsecs ( 1,025.323) 17,309.882 nsecs ( 16,449.306)
mutex 3,203.034 nsecs ( 3,150.052) 51,479.407 nsecs ( 50,618.831)
The first column is cpu time, third column is elapsed time.
unsafe is without any synchronized reader access. The
value in parentheses is the unsafe access time subtracted
out to separate out the synchronization overheads. smrlite is
smr proxy with thread_local overhead. So smrproxy lock/unlock
by itself is about 0.1 - 0.2 nanoseconds.
I'm going to drop working on the whole proxy interface thing. The
application can decide if it wants to hardcode a dependency on a
particular 3rd party libarary implementation or abstract it out
to a more portable api.
Date | Sujet | # | Auteur | |
17 Oct 24 | smrproxy v2 | 66 | jseigh | |
17 Oct 24 | Re: smrproxy v2 | 41 | Chris M. Thomasson | |
17 Oct 24 | Re: smrproxy v2 | 40 | jseigh | |
18 Oct 24 | Re: smrproxy v2 | 39 | Chris M. Thomasson | |
18 Oct 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
18 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
18 Oct 24 | Re: smrproxy v2 | 36 | jseigh | |
26 Oct 24 | Re: smrproxy v2 | 35 | Chris M. Thomasson | |
26 Oct 24 | Re: smrproxy v2 | 34 | jseigh | |
27 Oct 24 | Re: smrproxy v2 | 33 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 32 | jseigh | |
28 Oct 24 | Re: smrproxy v2 | 28 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 27 | jseigh | |
28 Oct 24 | Re: smrproxy v2 | 26 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 25 | jseigh | |
28 Oct 24 | Re: smrproxy v2 | 24 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 22 | jseigh | |
29 Oct 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 2 | jseigh | |
29 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 5 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 4 | jseigh | |
29 Oct 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 2 | jseigh | |
1 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 13 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 12 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 11 | jseigh | |
4 Nov 24 | Re: smrproxy v2 | 10 | Chris M. Thomasson | |
4 Nov 24 | Re: smrproxy v2 | 9 | jseigh | |
4 Nov 24 | Re: smrproxy v2 | 3 | Muttley | |
4 Nov 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
9 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
12 Dec 24 | Re: smrproxy v2 | 5 | Chris M. Thomasson | |
12 Dec 24 | Re: smrproxy v2 | 4 | jseigh | |
12 Dec 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
13 Dec 24 | Re: smrproxy v2 | 2 | jseigh | |
26 Dec 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 4 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 1 | jseigh | |
2 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
21 Nov 24 | Re: smrproxy v2 | 17 | jseigh | |
23 Nov 24 | Re: smrproxy v2 | 16 | jseigh | |
23 Nov 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
24 Nov 24 | Re: smrproxy v2 | 2 | jseigh | |
24 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
24 Nov 24 | Re: smrproxy v2 | 12 | jseigh | |
25 Nov 24 | Re: smrproxy v2 | 7 | Chris M. Thomasson | |
25 Nov 24 | Re: smrproxy v2 | 6 | jseigh | |
25 Nov 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
25 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
25 Nov 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
25 Nov 24 | Re: smrproxy v2 | 2 | jseigh | |
26 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
27 Nov 24 | Re: smrproxy v2 | 4 | jseigh | |
9 Dec 24 | Re: smrproxy v2 | 3 | jseigh | |
11 Dec 24 | Re: smrproxy v2 | 2 | jseigh | |
12 Dec 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson |
Les messages affichés proviennent d'usenet.