/dev/urandom is pretty slow on Linux. OpenSSL's CSPRNG is several times faster. On my workstation just now, I get 13MB/sec from /dev/urandom and 61MB/sec from OpenSSL's CSPRNG.
You can't just add the parent pid because that information is lost when the process's parent exits (the ppid becomes 1).
You can't just add the parent pid because that information is lost when the process's parent exits (the ppid becomes 1).