News: 0001495330

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Golang Now Enables Speedier getrandom() On Linux

([Programming] 5 Hours Ago Golang + getrandom vDSO)


The Linux 6.11 kernel introduced [1]getrandom() in the vDSO for [2]faster yet secure user-space random number generation needs . In addition to patches pending for [3]Glibc to make use of getrandom() vDSO support , Golang is now another early user of this functionality.

Golang has merged support for using the vDSO for getrandom() on Linux when running on a supported kernel version and architecture. Open-source developer Jason Donenfeld who pursued the getrandom() vDSO support also worked on [4]the Golang runtime support and the follow-up [5]patch for using vDSO for getrandom() on Linux.

Indeed the noted performance gains are there for using vDSO for getrandom():



[1] https://www.phoronix.com/news/Linux-6.11-Lands-getrandom-vDSO

[2] https://www.phoronix.com/news/getrandom-vDSO-RNG-Linux-6.11

[3] https://www.phoronix.com/news/Glibc-Review-getrandom-vDSO

[4] https://github.com/golang/go/commit/eb6f2c24cd17c0ca1df7e343f8d9187eef7d6e13

[5] https://github.com/golang/sys/commit/981de40f5c9d8dc49087c2d351624288ee17b34c



cynic

V1tol

The Lord and I are in a sheep-shepherd relationship, and I am in
a position of negative need.
He prostrates me in a green-belt grazing area.
He conducts me directionally parallel to non-torrential aqueous
liquid.
He returns to original satisfaction levels my psychological makeup.
He switches me on to a positive behavioral format for maximal
prestige of His identity.
It should indeed be said that notwithstanding the fact that I make
ambulatory progress through the umbragious inter-hill mortality slot, terror
sensations will no be initiated in me, due to para-etical phenomena.
Your pastoral walking aid and quadrupic pickup unit introduce me
into a pleasurific mood state.
You design and produce a nutriment-bearing furniture-type structure
in the context of non-cooperative elements.
You act out a head-related folk ritual employing vegetable extract.
My beverage utensil experiences a volume crisis.
It is an ongoing deductible fact that your inter-relational
empathetical and non-ventious capabilities will retain me as their
target-focus for the duration of my non-death period, and I will possess
tenant rights in the housing unit of the Lord on a permanent, open-ended
time basis.