Bug 1121835 - ofws-fs performance [NEEDINFO]
Summary: ofws-fs performance
Alias: None
Product: Fedora
Classification: Fedora
Component: owfs
Version: 20
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Tomasz Torcz
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-07-22 03:21 UTC by Richard Keech
Modified: 2014-12-25 20:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-12-25 20:05:26 UTC
tomek: needinfo? (richard.keech)

Attachments (Terms of Use)

Description Richard Keech 2014-07-22 03:21:48 UTC
Description of problem:

The default configuration of the owfs service currently assumes connection to the service provided by the separate owfs-server package.    If owfs service connects to the USB adapter via the on-host owfs-server then performance is extremely slow.

In my experience, owfs is best used with a direct connection to a local USB one-wire adapter.

The package would be better if the default operation was to connect to a USB adapter by changing /usr/lib/systemd/system/owfs.service to replace:

  ExecStart=/usr/bin/owfs --server= --allow_other /run/owfs


  ExecStart=/usr/bin/owfs -u /run/owfs

This dramatically improves performance and reliability.

Please at the very least add the following comments to the owfs.service file:

  ## When using owfs on a single USB one-wire adapter use this line:
  #ExecStart=/usr/bin/owfs -u /run/owfs

  ## When using owfs on multiple USB one-wire adapters use this line:
  #ExecStart=/usr/bin/owfs -uall /run/owfs

Comment 1 Tomasz Torcz 2014-07-22 12:36:39 UTC
Upstream agrees that going through owserver is wanted. Especially given owserver recently gained socket activation for systemd.

There should be no performance difference with owserver. Have you reported it to owfs upstream?

Comment 2 Tomasz Torcz 2014-12-25 20:05:26 UTC

there's been 5 month without answer from you. 
Please retest with latest owfs in F21, if you still see performance problems, please raise them with upstream.

Note You need to log in before you can comment on or make changes to this bug.