Closed ozkatz closed 1 year ago
Currently Pyramid openFile spends a considerable amount of time on updating the underlying Ristretto cache, causing a lot of internal lock contention.
To generate such load using the abuse command:
lakectl abuse random-read lakefs://repo1@a67a8fa0cfc598859a46ef652800f9d4e2d70db41a78c27f1500193118156068 --amount 1000000 --from-file ./randomfiles --parallelism $(nproc)
Then, going to /_pprof/mutex?seconds=5 will generate a locking profile that can be examined with go tool pprof to see the time spent on locking.
/_pprof/mutex?seconds=5
go tool pprof
This is very old and most likely irrelevant at this point. Closing for now, will reopen if needed.
Currently Pyramid openFile spends a considerable amount of time on updating the underlying Ristretto cache, causing a lot of internal lock contention.
To generate such load using the abuse command:
lakectl abuse random-read lakefs://repo1@a67a8fa0cfc598859a46ef652800f9d4e2d70db41a78c27f1500193118156068 --amount 1000000 --from-file ./randomfiles --parallelism $(nproc)
Then, going to
/_pprof/mutex?seconds=5
will generate a locking profile that can be examined withgo tool pprof
to see the time spent on locking.