[{"data":1,"prerenderedAt":299},["ShallowReactive",2],{"project-40869877":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":34,"aspects":35,"strip":39,"post_text":40,"what":41,"said":83,"maker_in_thread":150,"shape":161,"grid":165,"attempts":257,"same_week":263,"maker_shows":32,"maker_hidden":291,"reader_version":292,"card":293},"40869877","Xcapture-BPF","like Linux top, but with Xray vision","title","Show HN: Xcapture-BPF – like Linux top, but with Xray vision","https:\u002F\u002F0x.tools\u002F","0x.tools","tanelpoder",1720039957,2024,447,39,92,3515,3,"legend","dev_tools","performance profiling","cli",[24,25,26,27,28],"ebpf","linux performance","bcc","process monitoring","tracing","mixed",0.306,{"positive":18,"neutral":32,"mixed":32,"critical":33},1,0,5,{"performance":36,"idea":37,"design":38},{"positive":33,"critical":33},{"positive":32,"critical":33},{"positive":33,"critical":33},[33,33,33,33,33,33,33,34,33,33,33,33,18,33,34,34,33,33,33,33,33,33,33,33,33,33,33,33,33,33,18,33,33,33,33,33,33,33,33],null,{"problem":42,"audience":51,"pricing":40,"motivation":61,"time_to_build":40,"stack":68,"openness":80,"stage":81,"team_size":82},{"value":43,"source":44,"evidence":45},"Gives visibility into thread and process activity on Linux, like top with deeper tracing.","inferred",[46,48],{"id":47},"post",{"id":49,"by":11,"text":50},"40871271","The on-cpu sample profiling is not a big deal for my use cases as I don't need the \"perf\" sampling to happen at 10kHz or anything (more like 10-1Hz, but always on). But the…",{"value":52,"source":44,"evidence":53},"Linux operators and engineers troubleshooting production performance.",[54,58],{"id":55,"by":56,"text":57},"40871028","__turbobrew__","I use BCC tools weekly to debug production issues. Recently I found we were massively pressuring page caches due to having a large number of loopback devices with their own page…",{"id":59,"by":56,"text":60},"40871962","Containers are offered block storage by creating a loopback device with a backing file on the kubelet’s file system. We noticed that on some very heavily utilized nodes that…",{"value":62,"source":63,"evidence":64},"Maker wanted a tool to measure thread activity in Linux, building on years of troubleshooting Oracle database workloads.","maker",[65],{"id":66,"by":11,"text":67},"40870391","Yep (the 0x.tools author here). If you look into my code, you'll see that I'm not a good developer :-) But I have a decent understanding of Linux kernel flow and kernel\u002Fapp…",[69,73],{"value":70,"source":63,"evidence":71},"BCC (Python and C eBPF)",[72],{"id":66,"by":11,"text":67},{"value":74,"source":63,"evidence":75},"Planned move to libbpf with CO-RE",[76,77],{"id":66,"by":11,"text":67},{"id":78,"by":11,"text":79},"40871331","Yeah, I already see limitations, the last one was yesterday when I installed earlier Ubuntu versions to see how far back this can go - and even Ubuntu 22.04 didn't work out of…","open_source","beta","solo",{"praise":84,"objections":95,"requests":108,"questions":113,"alternatives":128},[85,91],{"value":86,"source":87,"evidence":88},"BCC tools helped debug real production issues.","commenter",[89,90],{"id":55,"by":56,"text":57},{"id":59,"by":56,"text":60},{"value":92,"source":87,"evidence":93},"eBPF is a powerful debugging superpower.",[94],{"id":55,"by":56,"text":57},[96,104],{"value":97,"source":87,"evidence":98},"BCC is clunky and has kernel header compatibility issues on some distros.",[99,103],{"id":100,"by":101,"text":102},"40871261","tptacek","I was going to ask \"why BCC\" (BCC is super clunky) but you're way ahead of us. This is great work, thanks for posting it.",{"id":78,"by":11,"text":79},{"value":105,"source":63,"evidence":106},"Per-event overhead of tracing sched_switch can be high for busy workloads.",[107],{"id":49,"by":11,"text":50},[109],{"value":110,"source":63,"evidence":111},"Help wanted for the libbpf-based v3 rewrite.",[112],{"id":66,"by":11,"text":67},[114,121],{"value":115,"source":87,"evidence":116},"Relative cost of capturing call stacks during sampling.",[117],{"id":118,"by":119,"text":120},"40871177","malkia","Relatively how expensive is to capture the callstack when doing sample profiling? With Intel CET's tech there should be way to capture a shadow stack, that really just contains…",{"value":122,"source":87,"evidence":123},"Good resources for learning eBPF.",[124],{"id":125,"by":126,"text":127},"40870273","jamesy0ung","I’ve never used eBPF, does anyone have some good resources for learning it?",[129,136,143],{"value":130,"source":87,"evidence":131},"otel-profiling-agent (Elastic)",[132],{"id":133,"by":134,"text":135},"40871581","metroholografix","Folks who find this useful might also be interested in otel-profiling-agent [1] which Elastic recently opensourced and donated to OpenTelemetry. It's a low-overhead eBPF-based…",{"value":137,"source":87,"evidence":138},"Grafana Beyla",[139],{"id":140,"by":141,"text":142},"40873018","kbouck","Grafana has one too called Beyla. https:\u002F\u002Fgrafana.com\u002Foss\u002Fbeyla-ebpf\u002F",{"value":144,"source":87,"evidence":145},"DTrace",[146],{"id":147,"by":148,"text":149},"40872532","anonfordays",">As for eBPF with respect to DTrace, I would say that they are different systems with different goals and approaches For sure. Different systems, different times. >rather than…",{"comments":151,"answered":152,"key":153},8,4,[154,155,158],{"id":49,"text":50},{"id":156,"text":157},"40870305","Brendan Gregg's site (and book) is probably the best starting point (he was involved in DTrace work & rollout 20 years ago when at Sun) and was\u002Fis instrumental in pushing eBPF in…",{"id":159,"text":160},"40871365","Thanks, yes I was more or less aware of that (I'd been using DTrace since Solaris 10 beta in 2004 or 2003?)... By rollout I really meant \"getting the word out there\"... that's…",{"commenters":162,"max_depth":151,"maker_replies":151,"first_comment_mins":163,"lifespan_hours":164},22,51,120,[166,168,171,172,175,178,180,183,187,188,191,195,196,199,201,204,208,209,210,213,214,217,218,220,223,225,227,230,232,234,236,238,240,242,244,246,248,251,254],[55,33,33,167,56,33],"other\u002Fneutral\u002Fnone",[169,33,33,170,101,33],"40871264","commenter\u002Fneutral\u002Fnone",[59,33,33,167,56,33],[173,33,33,167,174,33],"40872403","jauntywundrkind",[176,33,33,170,177,33],"40873775","FooBarWidget",[179,33,33,170,56,33],"40875426",[181,33,33,170,182,33],"40876588","M_bara",[184,33,34,185,186,33],"40871623","project\u002Fpositive\u002Fnone","jyxent",[133,32,33,167,134,33],[189,32,33,167,190,33],"40872822","3abiton",[192,32,33,193,194,33],"40876831","other\u002Fneutral\u002Fdocs","zikohh",[140,32,33,167,141,33],[118,197,18,198,119,33],2,"project\u002Fneutral\u002Fperformance",[49,197,33,200,11,32],"maker\u002Fneutral\u002Fperformance",[202,197,34,203,119,33],"40877106","maker\u002Fpositive\u002Fnone",[205,18,34,206,207,33],"40909322","project\u002Fpositive\u002Fidea","omerhac",[125,152,33,193,126,33],[156,152,33,193,11,32],[211,152,33,167,212,33],"40871300","bcantrill",[159,152,33,170,11,32],[215,152,33,170,216,33],"40871376","abrookewood",[147,152,33,170,148,33],[219,152,33,170,11,32],"40872559",[221,152,33,170,222,33],"40876034","bch",[224,152,33,170,11,32],"40877590",[226,152,33,170,222,33],"40878028",[228,152,33,167,229,33],"40870353","mgaunard",[66,152,33,231,11,32],"maker\u002Fneutral\u002Fnone",[233,152,33,167,229,33],"40870478",[235,152,33,231,11,32],"40870552",[100,152,18,237,101,33],"project\u002Fmixed\u002Fdesign",[78,152,33,239,11,32],"maker\u002Fneutral\u002Fexecution",[241,152,33,167,101,33],"40871135",[243,152,33,167,229,33],"40874058",[245,152,33,170,101,33],"40876389",[247,152,33,167,229,33],"40881782",[249,152,33,193,250,33],"40870375","frankjr",[252,152,33,193,253,33],"40870559","rascul",[255,152,33,193,256,33],"40871565","lathiat",[258,262],{"id":259,"t":260,"points":261,"comments":197},"24810988",1602951005,6,{"id":4,"t":12,"points":14,"comments":15},[264,269,274,279,283,287],{"id":265,"name":266,"points":267,"category":268},"40843867","Pikimov",1150,"creative",{"id":270,"name":271,"points":272,"category":273},"40837610","SmoothMQ",656,"infrastructure",{"id":275,"name":276,"points":277,"category":278},"40832146","Docmost",551,"productivity",{"id":280,"name":281,"points":282,"category":20},"40847699","Doggo",400,{"id":284,"name":285,"points":286,"category":278},"40846242","Edna",331,{"id":288,"name":289,"points":290,"category":20},"40857009","Pretzel",269,false,"v2",{"id":294,"name":5,"line":6,"ai":291,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":295,"top":18,"kw":296,"maker":11,"domain":10,"tier":19,"attempts":197,"strip":297,"url":9,"mix":298,"praise":86,"objection":97,"sub":21},40869877,0.31,[24,25,26,27,28],"000000050000305500000000000000300000000",[18,32,32,33],1794036657230]