Bug 1121835 - ofws-fs performance
Summary: ofws-fs performance
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: owfs
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tomasz Torcz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-22 03:21 UTC by Richard Keech
Modified: 2019-12-24 03:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-25 20:05:26 UTC
Type: Bug
Embargoed:


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=127.0.0.1 --allow_other /run/owfs

with 

  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
Hi,

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.

Comment 3 Richard Keech 2019-12-24 03:58:18 UTC
I no longer have capacity or interest to test this.


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