I have a server running Ubuntu server 14.04 64bit and I am having an "interesting" problem with it. I have 2 users running some programs concurrentlly - d and m. The processes of user "m" are not time critical, and therefore are being run on a "nice" value of 19. The processes of user "d" are time critical, and therefore are running on the standard "nice" value of 0. The thing is, the processes of user "m" are still getting more CPU time than those of user "d".
Also, despite all the CPU pressure, one of the CPUs (3 in the snapshot) is hardly getting any use.
I cannot reproduce the issue in an identical machine running Ubuntu server 10.04 64bit (I know, I should have updated by now).
I am attaching a snapshot of htop running to illustrate the issue. Can anyone help me with this?

Thanks in advance.
PS - The screenshot get reduced on upload and becomes too small to be readable. Here is a link to a full sized file.