Let $\operatorname{frac}(n)$ denote the fractional part of a positive integer n. Then, which are the best known bounds for
$$f(n)=\sum_{k=1}^{n} \operatorname{frac}\Big( \frac{n}{k}\Big)$$
?
The only information I could find relates this expression to Dirichlet Divisors Problem. Is there any better bound?