_whitelogger has quit [Remote host closed the connection]
_whitelogger_ has joined #ruby
Inline has quit [Ping timeout: 245 seconds]
Inline has joined #ruby
wbooze_ has joined #ruby
wbooze has quit [Ping timeout: 268 seconds]
Inline has quit [Ping timeout: 265 seconds]
wbooze_ has quit [Ping timeout: 252 seconds]
wbooze has joined #ruby
Inline has joined #ruby
donofrio_ has quit [Remote host closed the connection]
GreenResponse has joined #ruby
wbooze has quit [Ping timeout: 244 seconds]
Inline has quit [Ping timeout: 260 seconds]
user71 has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
wbooze has quit [Remote host closed the connection]
wbooze has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
eddof13 has joined #ruby
wbooze has quit [Ping timeout: 260 seconds]
Inline has quit [Ping timeout: 260 seconds]
jmcantrell has joined #ruby
fantazo has quit [Quit: leaving]
toretore has quit [Ping timeout: 244 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
xokna has joined #ruby
eddof13 has quit [Quit: eddof13]
toretore has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Quit: eddof13]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
peder has quit [Ping timeout: 276 seconds]
peder has joined #ruby
eddof13 has joined #ruby
cappy has joined #ruby
Obsdark has joined #ruby
Obsdark has quit [Changing host]
Obsdark has joined #ruby
testone has quit [Remote host closed the connection]
testone has joined #ruby
peder has quit [Ping timeout: 245 seconds]
peder has joined #ruby
swee has quit [Excess Flood]
swee has joined #ruby
swee has quit [Excess Flood]
swee has joined #ruby
swee has quit [Excess Flood]
swee has joined #ruby
swee has quit [Excess Flood]
swee has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
cappy has quit [Quit: Leaving]
Inline_ has joined #ruby
wbooze_ has joined #ruby
wbooze has quit [Ping timeout: 276 seconds]
Inline has quit [Ping timeout: 276 seconds]
inline__ has joined #ruby
Levent has joined #ruby
TomyWork has joined #ruby
wbooze_ has quit [Ping timeout: 244 seconds]
Inline_ has quit [Ping timeout: 260 seconds]
wbooze has joined #ruby
Inline has joined #ruby
wbooze has quit [Remote host closed the connection]
inline__ has quit [Ping timeout: 244 seconds]
Levent has quit [Ping timeout: 245 seconds]
cahoots_ has joined #ruby
Inline_ has joined #ruby
wbooze has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
Inline_ has quit [Quit: Leaving]
Inline has joined #ruby
<cahoots_>
hi, i have an odd ruby/linux question. i have a script that runs "LD_PRELOAD=libjemalloc.so MALLOC_CONF=thp:always my_script". when run in a bash shell, the thp:always part successfully forces it to use THP (transparent huge pages). but when i run that same command in backticks in a ruby repl, it runs it without THP
cahoots_ has quit [Quit: Client closed]
<weaksauce>
you're right that is odd
cahoots_ has joined #ruby
<cahoots_>
(sorry if this is a repeat message) hi, i have an odd ruby/linux question. i have a script that runs "LD_PRELOAD=libjemalloc.so MALLOC_CONF=thp:always my_script". when run in a bash shell, the thp:always part successfully forces it to use THP (transparent huge pages). but when i run that same command in backticks in a ruby repl, it runs it without
<cahoots_>
THP. what might be the difference?
<weaksauce>
how are you seeing that it is not using THP
<cahoots_>
by measuring the performance repeatedly
<cahoots_>
(it's a thp stress test program)
swee has quit [Quit: Swee the gentlegoob will be back soon (updates probably)]
<weaksauce>
have you tried another way to shell out like popen?
<weaksauce>
the shell is opened like port = pipe_open_s(str, "r", FMODE_READABLE|DEFAULT_TEXTMODE, NULL);
swee has joined #ruby
<weaksauce>
via `
cahoots_ has quit [Quit: Client closed]
cahoots_ has joined #ruby
<cahoots_>
got disconnected, if anyone replied, feel free to re-send
<weaksauce>
have you tried another way to shell out like popen?
<weaksauce>
the shell is opened like port = pipe_open_s(str, "r", FMODE_READABLE|DEFAULT_TEXTMODE, NULL); using `
<cahoots_>
i've tried Open3.popen3
patrick has quit [Ping timeout: 260 seconds]
patrick_ is now known as patrick
<cahoots_>
i.e., not using a subshell, just running the program directly, with the env var overridden with the vars mentioned
R2robot has quit [Ping timeout: 260 seconds]
patrick_ has joined #ruby
patrick has joined #ruby
patrick has quit [Changing host]
patrick_ is now known as patrick
patrick_ has joined #ruby
cahoots_ has quit [Quit: Client closed]
szkl has quit [Quit: Connection closed for inactivity]
Sampersand has joined #ruby
cahoots_ has joined #ruby
<cahoots_>
sorry, idk why i keep getting disconnected
<Sampersand>
are you on a web client?
<cahoots_>
the really odd thing is, it turns out to be using THP under the hood in all cases (or trying to). so it's calling madvise with the THP param (my OS is set to "madvise" mode for huge pages), but in one case it's successful, and in the other it's not
<cahoots_>
yeah, web.libera.chat
<Sampersand>
same haha; ive noticed turning off vpns and/or packet blockets usually keep it around longer
<cahoots_>
hehe nice
jmcantrell has quit [Ping timeout: 252 seconds]
jmcantrell has joined #ruby
Sampersand has quit [Quit: Client closed]
Sampersand has joined #ruby
<Sampersand>
aand it kicked me haha
eddof13 has quit [Quit: eddof13]
wbooze has quit [Ping timeout: 268 seconds]
Inline has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
cahoots_12 has joined #ruby
TomyWork has quit [Quit: Leaving]
cahoots_ has quit [Ping timeout: 240 seconds]
Guest47 has joined #ruby
Guest47 has quit [Write error: Broken pipe]
Guest95 has joined #ruby
Guest95 has quit [Write error: Broken pipe]
Guest47 has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
TomyLobo has joined #ruby
Guest47 has quit [Write error: Connection reset by peer]
eddof13 has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
wbooze has quit [Ping timeout: 260 seconds]
Inline has joined #ruby
wbooze has joined #ruby
toretore has quit [Remote host closed the connection]
toretore has joined #ruby
Inline has quit [Ping timeout: 248 seconds]
wbooze has quit [Ping timeout: 244 seconds]
wbooze has joined #ruby
Inline has joined #ruby
eddof13 has quit [Quit: eddof13]
Inline has quit [Read error: Connection reset by peer]
wbooze has quit [Remote host closed the connection]
cahoots_12 has quit [Ping timeout: 240 seconds]
Inline has joined #ruby
wbooze has joined #ruby
user71 has quit [Quit: Leaving]
svm is now known as msv
testone has quit [Remote host closed the connection]
testone has joined #ruby
cahoots_ has joined #ruby
testone has quit [Remote host closed the connection]
testone has joined #ruby
xokna has quit [Ping timeout: 248 seconds]
eddof13 has joined #ruby
testone has quit [Remote host closed the connection]
testone has joined #ruby
eddof13 has quit [Quit: eddof13]
mange has joined #ruby
Sampersand has quit [Quit: Client closed]
wbooze has quit [Ping timeout: 265 seconds]
Inline has quit [Ping timeout: 265 seconds]
testone has quit [Remote host closed the connection]
testone has joined #ruby
ruby[bot] has quit [Remote host closed the connection]