Bug 211791 - games/xmris: Fix 100% CPU utilisation
Summary: games/xmris: Fix 100% CPU utilisation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jason E. Hale
URL:
Keywords: easy, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-08-12 19:58 UTC by steven@freebsd-bugzilla.sdwmail.homeunix.org
Modified: 2016-10-31 21:59 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (steven)
koobs: merge-quarterly?


Attachments
updated patch file (998 bytes, patch)
2016-08-12 19:58 UTC, steven@freebsd-bugzilla.sdwmail.homeunix.org
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description steven@freebsd-bugzilla.sdwmail.homeunix.org 2016-08-12 19:58:12 UTC
Created attachment 173608 [details]
updated patch file

here is a new version of patch-timer.c
which adds one line to usleep() which reduces cpu utilization from near 100% 
to near 0%.
Comment 1 commit-hook freebsd_committer 2016-10-31 09:13:33 UTC
A commit references this bug:

Author: jhale
Date: Mon Oct 31 09:12:47 UTC 2016
New revision: 424989
URL: https://svnweb.freebsd.org/changeset/ports/424989

Log:
  Fix 100% CPU utilization (runtime tested on FreeBSD 11.0, i386)
  Bump PORTREVISION

  PR:		211791
  Submitted by:	<steven@freebsd-bugzilla.sdwmail.homeunix.org>
  MFH:		2016Q4

Changes:
  head/games/xmris/Makefile
  head/games/xmris/files/patch-timer.c
Comment 2 commit-hook freebsd_committer 2016-10-31 21:53:04 UTC
A commit references this bug:

Author: jhale
Date: Mon Oct 31 21:52:51 UTC 2016
New revision: 425032
URL: https://svnweb.freebsd.org/changeset/ports/425032

Log:
  MFH: r424989

  Fix 100% CPU utilization (runtime tested on FreeBSD 11.0, i386)
  Bump PORTREVISION

  PR:		211791
  Submitted by:	<steven@freebsd-bugzilla.sdwmail.homeunix.org>

  Approved by:	ports-secteam (feld)

Changes:
_U  branches/2016Q4/
  branches/2016Q4/games/xmris/Makefile
  branches/2016Q4/games/xmris/files/patch-timer.c
Comment 3 Jason E. Hale freebsd_committer 2016-10-31 21:59:40 UTC
Fixed in head and 2016Q4, thanks!