[GHC] #12713: Bytes allocated statistic for T10858 differs between Windows and Linux
#12713: Bytes allocated statistic for T10858 differs between Windows and Linux -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Strangely `T10858` seems to pass without any trouble on 64-bit Linux with its current expected "bytes allocated" statistic of 241MB. Strangely, this test allocates 16% less on 64-bit Windows, {{{ bytes allocated value is too low: (If this is because you have improved GHC, please update the test so that GHC doesn't regress again) Expected T10858(normal) bytes allocated: 241655120 +/-8% Lower bound T10858(normal) bytes allocated: 222322710 Upper bound T10858(normal) bytes allocated: 260987530 Actual T10858(normal) bytes allocated: 203567896 Deviation T10858(normal) bytes allocated: -15.8 % *** unexpected stat test failure for T10858(normal) }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12713> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12713: Bytes allocated statistic for T10858 differs between Windows and Linux -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Usually I would just update the number, but I would really like to understand why this is the case. This is a rather large deviation in the compilation of a program which really shouldn't have any appreciable platform dependence. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12713#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12713: Bytes allocated statistic for T10858 differs between Windows and Linux ---------------------------------+-------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Changes (by bgamari): * cc: Phyx- (added) * os: Unknown/Multiple => Windows * architecture: Unknown/Multiple => x86_64 (amd64) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12713#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12713: Bytes allocated statistic for T10858 differs between Windows and Linux ---------------------------------+-------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"2aaafc8b9788e4a3447a10740479e0e7c0622cda/ghc" 2aaafc8/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="2aaafc8b9788e4a3447a10740479e0e7c0622cda" Bump Win32 version. Bump the version of `Win32` to `2.5.0.0` which is a major update and includes fixes for wrong alignments and wrong 64-bit types. Strangely enough this also seems to resolve #12713, where `T10858` was failing due to too-low allocations. The underlying type aliases have changed, so there is a potential for user programs not to compile anymore, but the types were incorrect. This also requires a bump in the `directory`, `Cabal`, and `process` submodules. Original author: Tamar Christina <tamar@zhox.com> Test Plan: ./validate Reviewers: bgamari, RyanGlScott, austin Subscribers: hvr, RyanGlScott, thomie, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2938 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12713#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12713: Bytes allocated statistic for T10858 differs between Windows and Linux ---------------------------------+-------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Test Suite | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed * milestone: => 8.2.1 Comment: Allocations on this test on Windows mysteriously rose to fall in the acceptance window with the above commit. Odd. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12713#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC