This is horrible. Please stop.
728 karma · joined November 27, 2013
This is horrible. Please stop.
One of the ways to configure is to continue adding nr_hugepages to kernel, restarting PG and running your workload until you see HugePages_Free growing.
E.g.:
sysctl.d/10-hugepages.conf:vm.nr_hugepages=20000
See how these are used:
[root@potato ~]# cat /proc/meminfo | grep -i huge
AnonHugePages: 4411392 kB
ShmemHugePages: 0 kB
FileHugePages: 0 kB
HugePages_Total: 20000
HugePages_Free: 3103
HugePages_Rsvd: 143
HugePages_Surp: 0
Hugepagesize: 2048 kB Hugetlb: 40960000 kB
I recently had to work with C++ code and... it is not a happy story anymore:
- Lots of magic like described here
- F**ing templates - for those who like them, did you ever see a C++ core file? Or tried to understand a single symbol?
- Standarization that feels like pulling more Boost into the language, which means more templates. Which makes core files incomprehensible.
It used the be that average dev who knew C could read and work with simple C++. This is no longer true. C++ is no longer a better C.
P.S. Example from recent core file, one line in the stack trace: boost::asio::asio_handler_invoke<boost::asio::detail::binder2<core::AsyncSignalCatcher<2, 15, 17>::waitForSignal<XServer::m_accept_loop(tsr::Data&)::<lambda(spawn::yield_context)>::<lambda(int)> >(XServer::m_accept_loop(tsr::Data&)::<lambda(spawn::yield_context)>::<lambda(int)>&&)::<lambda(const boost::system::error_code&, int)>, boost::system::error_code, int> > (function=...)
Always get a lawyer to represent you when the Tax folks start an audit. Never tell them anything over the phone or email. Always ask for a letter and provide explanations via letter. Do record all communications with them. Never say anything they did not ask for.
P.S. A bit of noise in the data too, some names in Polish/English pairs are not really good.
The only true thing here is: people who analyze the data more and reason based on this, can draw better outcome. It is not luck, but yes, might look like one.
Cheers!
Learning existing system is harder than to create something seemingly equivalent that author understands well. For some time at least.
Now I realize it describes any sufficient evolved (i.e. broken) system, which might have been good enough excuse for the soviets not to make it verbotten.
I live in Atlanta, ride both car and bicycle and do not have flat tire more often than average. Perhaps thanks to his help!
It has always scared me what my life would be if I did tolerate alcohol well. Really, really scary thought!
And yes, need a break every now and then!
I had many of these moments in my life and, after some hesitation, always picked the get up and fight mode. I hope you will too. It wil get us places for sure.
Good luck with your life, carry on!
Congratulations SpaceX! Big success!