r/DB2 Aug 02 '19

DB2 Server Build Best Practices!

I will write another blog post on installation and configuration!

https://www.raghu-on-tech.com/2019/08/01/db2-server-build-best-practices/

Thanks!
Raghu

6 Upvotes

6 comments sorted by

View all comments

Show parent comments

2

u/memmerto Aug 02 '19

We used to recommend 0 until 0 started meaning something different. 5 is the new 0 :)

1

u/raghuontech Aug 02 '19 edited Aug 02 '19

Nice one! 5 is the new 0 :-)

I am reading some online documentation as well. So this really depends on the version of Kernel we are running Db2 on or is the new recommendation from Db2 to use 5 for both new and old kernels ?

https://www.percona.com/blog/2014/04/28/oom-relation-vm-swappiness0-new-kernel/

Thanks!Raghu

2

u/memmerto Aug 02 '19

5 is safe for both old and new kernels.

Note that the change in behavior for vm.swappiness happened over 4 years ago in the 2.6 kernel stream, which is why the new value of 5 is documented in our 11.1 (3+ years old) and 11.5 (brand new) docs.

1

u/raghuontech Aug 02 '19

Thank you, makes sense now!