Add some relation operators to os::Release

Review: https://reviews.apache.org/r/22897
Add check for perf support.

Review: https://reviews.apache.org/r/22898