shm bugs revisited (2)

From: Christoph Rohland (hans-christoph.rohland@sap.com)
Date: Thu Jan 27 2000 - 12:17:15 EST


Hi Ingo,

running 2.3.{40,41-pre2}+smp-41-A1 is see inconsistent data when using
shm (2.3.39 seems to be o.K.):

#./ipctst 10 666400000 10 30 20
using 10 segs of size 666400000 (1073741824 iterations)
started process 613
started process 614
started process 615
started process 616
started process 617
started process 618
started process 619
started process 620
started process 621
[1]+ Stopped ./ipctst 10 666400000 10 30 20
# bg
[1]+ ./ipctst 10 666400000 10 30 20 &
# vmstat 5
   procs memory swap io system cpu
 r b w swpd free buff cache si so bi bo in cs us sy id
 5 5 0 0 3727000 2920 660540 0 0 0 16 14 2040 2 64 34
 8 2 0 0 2695244 2920 660540 0 0 0 0 108 86202 1 77 21
 8 2 0 0 2421536 2920 660540 0 0 0 2 109 78954 3 82 14
 8 2 0 0 1364432 2920 660540 0 0 0 0 110 85627 2 79 20
 6 4 0 0 992728 2920 660540 0 0 0 0 106 97082 2 72 26
 7 3 0 0 992728 2920 660540 0 0 0 0 108 93364 4 72 23
 7 3 0 0 3122360 2920 660540 0 0 0 0 112 79578 3 71 26
shmctl IPC_RMID: Invalid argument
 6 4 0 0 2594368 2920 660540 0 0 0 0 133 117693 2 69 2
9
 7 3 0 0 1602924 2920 660540 0 0 0 0 108 73181 1 88 11
n=3, m = 384: 228 != 227, 228, 229, 229, 229, 229
n=3, m = 384: 210 != 209, 210, 211, 212, 212, 212
n=3, m = 384: 185 != 184, 185, 185, 185, 185, 185
n=3, m = 384: 192 != 191, 192, 192, 192, 192, 192
shmctl IPC_RMID: Invalid argument
shmctl IPC_RMID: Invalid argument
10 0 0 0 2925840 2920 660540 0 0 0 0 126 87749 4 89 7

When doing these stress tests I also see random SEGV's on other
programs like vmstat.

Greetings
                Christoph

-- 


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:19 EST