fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
mjw has quit [Quit: Leaving]
<agentzh>
fche: is it a known issue that stap modules loading/unloading for many times might cause memory fragmentation which makes further ko loading fail with "Couldn't insert module 'xxx.ko': Operation not permitted"?
<agentzh>
"echo 1 > /proc/sys/vm/compact_memory" always fixes this. but it is quite expensive and scary even.
<agentzh>
does the kernel require contiguous physical memory address space for kernel loading?
<agentzh>
it seems to me like that.
<agentzh>
*for kernel module loading
<fche>
agentzh, was not aware of that
<fche>
well, some fragmentation is a problem, no matter the type of allocator
<fche>
stap modules do release every bit of memory they allocated, so it should not accumulate damage
sscox has joined #systemtap
<agentzh>
fche: right, it's not a leak, but failures due to fragmentations in long-running boxes.
orivej has joined #systemtap
<fche>
hm too bad that reported rc from the fragmented case is just EPERM. staprun could attempt that /compact trigger and retry the load
<fche>
'expensive and scary' - tell me more
<fche>
(or we could do it unconditionally at a module unload)
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #systemtap
slowfranklin has joined #systemtap
slowfranklin has quit [Client Quit]
slowfranklin has joined #systemtap
orivej has quit [Ping timeout: 250 seconds]
mjw has joined #systemtap
wcohen has quit [Remote host closed the connection]
orivej has joined #systemtap
mjw has quit [Quit: Leaving]
wcohen has joined #systemtap
brolley has joined #systemtap
tromey has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
orivej has quit [Ping timeout: 245 seconds]
slowfranklin has joined #systemtap
slowfranklin has quit [Client Quit]
orivej has joined #systemtap
orivej has quit [Ping timeout: 245 seconds]
tromey has quit [Quit: ERC (IRC client for Emacs 26.1.50)]
orivej has joined #systemtap
orivej has quit [Ping timeout: 246 seconds]
brolley has left #systemtap [#systemtap]
orivej has joined #systemtap
tromey has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 26.1.50)]