ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
apritzel has quit [Ping timeout: 265 seconds]
alpernebbi has quit [Ping timeout: 252 seconds]
alpernebbi has joined #armlinux
jclsn has quit [Ping timeout: 265 seconds]
jclsn has joined #armlinux
System_Error has quit [Remote host closed the connection]
lain6141 has quit [Read error: Connection reset by peer]
lain6141 has joined #armlinux
heat has quit [Ping timeout: 248 seconds]
Stary has quit [Quit: ZNC - http://znc.in]
Fridtjof has quit [Quit: ZNC - http://znc.in]
Stary has joined #armlinux
Fridtjof has joined #armlinux
amitk has joined #armlinux
cbeznea has joined #armlinux
monstr has joined #armlinux
pivi has quit [Ping timeout: 252 seconds]
pivi has joined #armlinux
frieder has joined #armlinux
<mriesch> arnd: mmind00: FYI david applied the patch that relaxes the checks on graphs for dt overlays to dtc. thereby we should get rid of nasty warnings that e.g. appeared in the compilation of our display overlay.
apritzel has joined #armlinux
<geertu> rfs613: KS3.0, Yellow CPU = Exception Before Bootstrap Code is Loaded
biju has joined #armlinux
headless has joined #armlinux
nsaenz has joined #armlinux
System_Error has joined #armlinux
lain6141 has quit [Read error: Connection reset by peer]
Livio has joined #armlinux
lain6141 has joined #armlinux
apritzel_ has joined #armlinux
marshmallow has quit [Remote host closed the connection]
marshmallow has joined #armlinux
psydroid2 has joined #armlinux
luispm has quit [Ping timeout: 276 seconds]
gshan has joined #armlinux
gshan has quit [Client Quit]
gshan has joined #armlinux
Livio has quit [Ping timeout: 245 seconds]
headless has quit [Quit: Konversation terminated!]
Amit_T has joined #armlinux
dmart has joined #armlinux
luispm has joined #armlinux
alpernebbi has quit [Ping timeout: 248 seconds]
tleb has quit [Write error: Connection reset by peer]
d4ve has quit [Write error: Connection reset by peer]
sfo has quit [Remote host closed the connection]
lane has quit [Write error: Connection reset by peer]
bryanb has quit [Remote host closed the connection]
tom5760 has quit [Remote host closed the connection]
lane has joined #armlinux
bryanb has joined #armlinux
tom5760 has joined #armlinux
sfo has joined #armlinux
tleb has joined #armlinux
d4ve has joined #armlinux
alpernebbi has joined #armlinux
nsaenz has quit [Ping timeout: 276 seconds]
atorgue has joined #armlinux
<rfs613> geertu: well best of luck ;-)
nsaenz has joined #armlinux
heat has joined #armlinux
biju has quit [Ping timeout: 265 seconds]
biju has joined #armlinux
Livio has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
frieder has quit [Ping timeout: 244 seconds]
headless has joined #armlinux
sakman has quit [Ping timeout: 260 seconds]
luispm has quit [Quit: Leaving]
dmart has quit [Quit: leaving]
<cambrian_invader> does Linux make any attempt to balance IRQs between cores?
<cambrian_invader> I haven't touched my smp_affinity, and all my IRQs are going to the same core
<Xogium> cambrian_invader: I think it does, yes. But don't quote me on this
sakman has joined #armlinux
<cambrian_invader> does the interrupt controller need to support it?
<cambrian_invader> maybe my GIC is too old or something
<cambrian_invader> I am thinking of just installing irqbalance, but it seems very strange for default behavio
<Xogium> on that, I have no idea
<maz> The GIC driver makes a point in *not* balancing interrupts.
<maz> that's irqbalance's job.
<cambrian_invader> ok, good to know
<maz> specially if you have GICvx with x<3, allowing the GIC to send interrupts to multiple CPUs is terrible.
<cambrian_invader> strange that irqbalance isn't in any of the "default" yocto layers though
<maz> in embedded systems, you usually want to *exactly* where your interrupts are delivered. not leave it to some random userspace decisions.
<cambrian_invader> well, this is... semi embedded?
<cambrian_invader> there are too many interrupts and the final application is unknown
<maz> it's your choice. the distro doesn't make it for you!
<maz> (and yes, I agree. too many interrupts)
<cambrian_invader> so if I say "devices A B and C will use cpu 0 and E F and G will use cpu 1" and the application only uses devices A B and C in some configuration then I have a problem
<maz> no, you have a job!
<cambrian_invader> :P
<cambrian_invader> "come to cambrian_invader's IRQ and flyweel balancing"
monstr has quit [Remote host closed the connection]
<maz> at the end of the day, it is a trade-off between the price of irq rebalancing (cache thrashing, variable latencies) and a system that *looks* more balanced.
<cambrian_invader> well, it is seriously a problem in my case, since everything goes to one CPU and it becomes the bottleneck
<maz> then maybe irqbalance is the solution for you. you'll have to try.
<maz> hopefully all your interrupts are directly routed to the GIC, without a mux in between...
<cambrian_invader> I think so?
<cambrian_invader> what would the point of a mux even be?
<milkylainen> I thought that the kernel did a static balance on boot and you mostly needed irqbalance and the daemon to re-balance things in runtime?
<maz> only route one interrupt to the GIC, and put a few hundred behind the mux, for example.
<milkylainen> I mean, the kernel is fully capable to distribute irqs among cpus without a userspace irqbalanced?
<maz> milkylainen: the kernel does no such thing.
<milkylainen> maz: regardless of arch or what do you mean?
<maz> milkylainen: "I thought that the kernel did a static balance on boot" <-- no, it doesn't.
<maz> the initial affinity is left to the irqchip driver, and that's about it.
<cambrian_invader> an example with iperf3 running on 4 ethernets: https://paste.debian.net/1325136/
<milkylainen> In that case the mask must come from somewhere. I have no irqbalanced and I have my irqs spread on all cores.
<cambrian_invader> everything goes to CPU 0 which has 100% softirq usage
<cambrian_invader> mask is set to f, but apparently that means 1
<maz> cambrian_invader: yeah, you probably need to affinity adjustment. whether you want that to be done manually or automagically is your own choice.
<milkylainen> cambrian_invader: which mask? I have a default affinity of f on my quadcore. And I have irqs running to all cores.
<cambrian_invader> smp_affinity
<maz> it's a shame that your Ethernet devices don't seem to have per-CPU queues, each with its own interrupt. that's usually a lot more efficient than having a single IRQ per device and having to balance that.
<milkylainen> cat /proc/interrupts
<cambrian_invader> well, they only have 2 queues anyway
<milkylainen> oh, sorry, you already did that.
<cambrian_invader> and the packet classification is pretty anemic
<cambrian_invader> but yeah I agree not the best NICs
apritzel_ has quit [Ping timeout: 276 seconds]
lain6141_ has joined #armlinux
lain6141 has quit [Remote host closed the connection]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
biju has quit [Quit: Konversation terminated!]
nsaenz has quit [Ping timeout: 265 seconds]
Amit_T has quit [Quit: Leaving]
siak has joined #armlinux
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
System_Error has quit [Remote host closed the connection]
linusw__ has quit [Quit: Connection closed for inactivity]
cbeznea has quit [Ping timeout: 248 seconds]
gclement has joined #armlinux
heat has quit [Read error: Connection reset by peer]
heat has joined #armlinux
System_Error has joined #armlinux
amitk has quit [Ping timeout: 252 seconds]
gclement has quit [Quit: Leaving.]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 252 seconds]
headless has quit [Quit: Konversation terminated!]
nsaenz has joined #armlinux
System_Error has quit [Remote host closed the connection]
nsaenz has quit [Remote host closed the connection]
System_Error has joined #armlinux
prabhakalad has quit [Remote host closed the connection]
prabhakalad has joined #armlinux
Livio has quit [Ping timeout: 260 seconds]
heat has quit [Remote host closed the connection]
heat has joined #armlinux
heat_ has joined #armlinux
heat has quit [Read error: Connection reset by peer]
gshan has quit [Quit: Leaving]
gshan has joined #armlinux