https://bugs.kde.org/show_bug.cgi?id=478457

--- Comment #9 from Harald Sitter <sit...@kde.org> ---
(In reply to Eddie J Carswell II from comment #6)
> > idle priority unfortunately won't work because it is subject to starvation.
> > Users do expect previews to be generated eventually.
> 
> Then perhaps somewhat higher but still less than normal priority?

After some research I'm even less convinced of this. From what I can tell cifs
is not subject to any IO scheduling what with being network based. IO
scheduling only comes into play when the request is routed into a block device.
cifs communication directly goes out into the network stack and would be
subject to the queuing discipline, which seems not interested in IOPRIO.
Perhaps this actually makes all perfect sense. We request a PNG to create a
preview, cifs is happy to oblige and issues (multiple concurrent?) network
requests, the remote is dreadfully slow and iowaiting on its disk, translating
to us iowaiting on the network sockets coming back with the data. I can kind of
replicate this by cgroup limiting smbd IO, but even with very aggressive limits
my system stays responsive. So, I'm rather thinking there is a problem with
your kernel/configuration.

> Ah, found that setting. It doesn't seem to account for filesystems mounted
> via fstab unfortunately.

Indeed, you are accessing it through the file:// protocol. That makes it
inherently local.

> And I've found performance using `smb://` in dolphin to be worse than just
> using an fstab automount, which is why I have it setup that way.

I have the suspicion that this has to do with why things are misbehaving for
you to begin with. smb:// is performing close to the same transfer speed as
windows, if it doesn't for you that points at a problem elsewhere.

Perhaps let's get our ducks in a row

What's the output of 

```
tc qdisc show
ls -lah "$(qtpaths --plugin-dir)/kf5/thumbcreator"
```

Also please follow
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_IOSlaves/Debugging_kio_smb#Reporting_Bugs
and include 'Logging with libsmbclient debug output'

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to