# 100% CPU Usage - Linux

**URL:** <https://forums.developer.nvidia.com/t/100-cpu-usage-linux/46839>\
**Category:** CUDA Programming and Performance\
**Created:** [December 16, 2016, 4:14pm UTC](https://forums.developer.nvidia.com/t/100-cpu-usage-linux/46839 "2016-12-16T16:14:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![iCrayer](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@iCrayer](https://forums.developer.nvidia.com/u/iCrayer)\
**Post date:** [December 19, 2016, 10:09am UTC](https://forums.developer.nvidia.com/t/100-cpu-usage-linux/46839/3 "2016-12-19T10:09:59Z")

</div>

> [@](#):
>
> It’s definitely implemented. If I put
> 
> ```auto
> cudaDeviceScheduleBlockingSync
> 
> ```
> 
> at the start of a compute-heavy CUDA program, CPU usage drops from 100% to less than 1% (as reported by top).  
> This is on CUDA 8.0, driver 367.44 on openSUSE tumbleweed.

Thank you for your reply.

I have CUDA 7.5 and use the driver : 352.39  
Do you think it doesn’t work because of my settings ? Maybe a bug inside CUDA 7.5 or my driver which doesn’t implement the flags behavior.

When I’m using cudaGetDeviceFlags it returns 8  
After using cudaSetDeviceFlags with cudaDeviceScheduleBlockingSync it returns 12.  
As I can see, the flag is correctly set but the cpu usage isn’t lower during my kernel execution.

---

_[View the full topic](https://forums.developer.nvidia.com/t/100-cpu-usage-linux/46839)._
