lru icon indicating copy to clipboard operation
lru copied to clipboard

tested with 192 cores, performance is not very good, suggestion on how to tweak for 192 or 448 cores server

Open ouvaa opened this issue 1 year ago • 3 comments

wanted to go extreme, how to make 192 cores faster? same pastebin info on server, doesnt really scale that well. can suggest how to make it multicore shard better?

ouvaa avatar Mar 29 '24 10:03 ouvaa

an issue worth read first https://github.com/golang/go/issues/65064

maybe your bottleneck is on

  1. golang netpoll (as above issue)
  2. golang numa awareness/support (?)

anyway, although sharding processing can resolve this issue but it brings complexity and latency, it still It's a last resort.

phuslu avatar Mar 29 '24 18:03 phuslu

@phuslu cant believe u found that out and yes i just read it. it's very interesting. it's actually on gnet using the epoll. everything mentioned by them is valid

i tried thinking in numa actually but found extremely little support. i thought maybe your lru can implement the numa instead

ouvaa avatar Mar 29 '24 18:03 ouvaa

i thought maybe your lru can implement the numa instead

I doubt it because it subject to go scheduler

phuslu avatar Mar 30 '24 08:03 phuslu