Closed p5pRT closed 9 years ago
See attached patch.
Before after Process Monon logs
BEFORE
6:17:59.5589413 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5589644 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.exe SUCCESS Filter: miniperl.exe\,
1: miniperl.exe
6:17:59.5590318 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5591530 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5591703 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.asm NO SUCH FILE Filter: miniperl.asm
6:17:59.5592553 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5593366 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5593533 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.c NO SUCH FILE Filter: miniperl.c
6:17:59.5593863 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5594665 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5594827 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.cpp NO SUCH FILE Filter: miniperl.cpp
6:17:59.5595025 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5596087 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5596277 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.cxx NO SUCH FILE Filter: miniperl.cxx
6:17:59.5596472 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5597335 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5597511 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.cbl NO SUCH FILE Filter: miniperl.cbl
6:17:59.5597699 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5598601 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5598805 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.f NO SUCH FILE Filter: miniperl.f
6:17:59.5598989 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5599950 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5600149 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.f90 NO SUCH FILE Filter: miniperl.f90
6:17:59.5600448 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5601258 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5601431 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.for NO SUCH FILE Filter: miniperl.for
6:17:59.5601621 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5602442 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:17:59.5602615 AM nmake.exe 9464 11924 QueryDirectory
C:\perl521\srcnewb4opt\miniperl.pas NO SUCH FILE Filter: miniperl.pas
6:17:59.5602803 AM nmake.exe 9464 11924 CloseFile
C:\perl521\srcnewb4opt SUCCESS
6:17:59.5603590 AM nmake.exe 9464 11924 CreateFile
C:\perl521\srcnewb4opt SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
NO AFTER
BEFORE
6:39:03.3043084 AM miniperl.exe 11460 10280 CreateFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Desired Access:
Generic Read\, Disposition: Open\, Options: Synchronous IO Non-Alert\,
Non-Directory File\, Attributes: N\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:39:03.3044844 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 0\,
Length: 4\,096
6:39:03.3050004 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 4\,096\,
Length: 4\,096
6:39:03.3050859 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 8\,192\,
Length: 4\,096
6:39:03.3053066 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 12\,288\,
Length: 4\,096
6:39:03.3063271 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 16\,384\,
Length: 4\,096
6:39:03.3075775 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 20\,480\,
Length: 4\,096
6:39:03.3099239 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 24\,576\,
Length: 4\,096
6:39:03.3108564 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 28\,672\,
Length: 4\,096
6:39:03.3120488 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS Offset: 32\,768\,
Length: 1\,153
6:39:03.3130749 AM miniperl.exe 11460 10280 ReadFile
C:\perl521\srcnewb4opt\lib\File\Find.pm END OF FILE Offset:
33\,921\, Length: 4\,096
6:39:03.3131034 AM miniperl.exe 11460 10280 CloseFile
C:\perl521\srcnewb4opt\lib\File\Find.pm SUCCESS
AFTER
7:15:09.0981100 AM miniperl.exe 5000 11044 CreateFile
C:\perl521\srcnewb4opt\ext\File-Find\lib\File\Find.pm SUCCESS
Desired Access: Generic Read\, Disposition: Open\, Options: Synchronous
IO Non-Alert\, Non-Directory File\, Attributes: N\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
7:15:09.0982710 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\ext\File-Find\lib\File\Find.pm SUCCESS
Offset: 0\, Length: 4\,096
7:15:09.0999058 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\ext\File-Find\lib\File\Find.pm SUCCESS
Offset: 4\,096\, Length: 4\,096
7:15:09.1011521 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\ext\File-Find\lib\File\Find.pm SUCCESS
Offset: 8\,192\, Length: 4\,096
7:15:09.1020913 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\ext\File-Find\lib\File\Find.pm SUCCESS
Offset: 12\,288\, Length: 4\,096
7:15:09.1032518 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\ext\File-Find\lib\File\Find.pm SUCCESS
Offset: 16\,384\, Length: 4\,096
7:15:09.1044751 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\ext\File-Find\lib\File\Find.pm SUCCESS
Offset: 20\,480\, Length: 4\,096
7:15:09.1057786 AM miniperl.exe 5000 11044 CloseFile
C:\perl521\srcnewb4opt\ext\File-Find\lib\File\Find.pm SUCCESS
BEFORE
6:39:03.7949895 AM miniperl.exe 11048 11848 CreateFile
C:\perl521\srcnewb4opt\lib\Carp.pm SUCCESS Desired Access:
Generic Read\, Disposition: Open\, Options: Synchronous IO Non-Alert\,
Non-Directory File\, Attributes: N\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:39:03.7950247 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\Carp.pm SUCCESS Offset: 0\, Length: 4\,096
6:39:03.7952468 AM miniperl.exe 11048 11848 CreateFile
C:\perl521\srcnewb4opt\lib SUCCESS Desired Access: Read Data/List
Directory\, Synchronize\, Disposition: Open\, Options: Directory\,
Synchronous IO Non-Alert\, Attributes: n/a\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:39:03.7952700 AM miniperl.exe 11048 11848 QueryDirectory
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Filter:
warnings.pm\, 1: warnings.pm
6:39:03.7952971 AM miniperl.exe 11048 11848 CloseFile
C:\perl521\srcnewb4opt\lib SUCCESS
6:39:03.7954222 AM miniperl.exe 11048 11848 CreateFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Desired Access:
Generic Read\, Disposition: Open\, Options: Synchronous IO Non-Alert\,
Non-Directory File\, Attributes: N\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:39:03.7954582 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 0\, Length:
4\,096
6:39:03.7956197 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 4\,096\,
Length: 4\,096
6:39:03.7956932 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 8\,192\,
Length: 4\,096
6:39:03.7957463 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 12\,288\,
Length: 4\,096
6:39:03.7958016 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 16\,384\,
Length: 4\,096
6:39:03.7958915 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 20\,480\,
Length: 4\,096
6:39:03.7962631 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 24\,576\,
Length: 4\,096
6:39:03.7965707 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 28\,672\,
Length: 4\,096
6:39:03.7968945 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 32\,768\,
Length: 4\,096
6:39:03.7974848 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 36\,864\,
Length: 4\,096
6:39:03.7986019 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 40\,960\,
Length: 26
6:39:03.7986276 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm END OF FILE Offset:
40\,986\, Length: 4\,096
6:39:03.7986422 AM miniperl.exe 11048 11848 CloseFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS
6:39:03.7998568 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\Carp.pm SUCCESS Offset: 4\,096\, Length:
4\,096
6:39:03.8009056 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\Carp.pm SUCCESS Offset: 8\,192\, Length:
4\,096
6:39:03.8020627 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\Carp.pm SUCCESS Offset: 12\,288\,
Length: 4\,096
6:39:03.8029003 AM miniperl.exe 11048 11848 ReadFile
C:\perl521\srcnewb4opt\lib\Carp.pm SUCCESS Offset: 16\,384\,
Length: 4\,096
6:39:03.8032746 AM miniperl.exe 11048 11848 CloseFile
C:\perl521\srcnewb4opt\lib\Carp.pm SUCCESS
AFTER- no change since POD is about ~4KB itselk
7:15:09.2287026 AM miniperl.exe 5000 11044 CreateFile
C:\perl521\srcnewb4opt\dist\Carp\lib\Carp.pm SUCCESS Desired
Access: Generic Read\, Disposition: Open\, Options: Synchronous IO
Non-Alert\, Non-Directory File\, Attributes: N\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
7:15:09.2288557 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\dist\Carp\lib\Carp.pm SUCCESS Offset: 0\,
Length: 4\,096
7:15:09.2301212 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\dist\Carp\lib\Carp.pm SUCCESS Offset:
4\,096\, Length: 4\,096
7:15:09.2314094 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\dist\Carp\lib\Carp.pm SUCCESS Offset:
8\,192\, Length: 4\,096
7:15:09.2327023 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\dist\Carp\lib\Carp.pm SUCCESS Offset:
12\,288\, Length: 4\,096
7:15:09.2337058 AM miniperl.exe 5000 11044 ReadFile
C:\perl521\srcnewb4opt\dist\Carp\lib\Carp.pm SUCCESS Offset:
16\,384\, Length: 4\,096
7:15:09.2342248 AM miniperl.exe 5000 11044 CloseFile
C:\perl521\srcnewb4opt\dist\Carp\lib\Carp.pm SUCCESS
AFTER
7:14:58.9272313 AM miniperl.exe 11096 10024 CreateFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Desired Access:
Generic Read\, Disposition: Open\, Options: Synchronous IO Non-Alert\,
Non-Directory File\, Attributes: N\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
7:14:58.9273520 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 0\, Length:
4\,096
7:14:58.9279954 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 4\,096\,
Length: 4\,096
7:14:58.9284052 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 8\,192\,
Length: 4\,096
7:14:58.9288218 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 12\,288\,
Length: 4\,096
7:14:58.9296560 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS Offset: 16\,384\,
Length: 4\,096
7:14:58.9306907 AM miniperl.exe 11096 10024 CloseFile
C:\perl521\srcnewb4opt\lib\warnings.pm SUCCESS
BEFORE
6:39:03.9224568 AM miniperl.exe 11984 11744 CreateFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Desired
Access: Generic Read\, Disposition: Open\, Options: Synchronous IO
Non-Alert\, Non-Directory File\, Attributes: N\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
6:39:03.9224981 AM miniperl.exe 11984 11744 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset: 0\,
Length: 4\,096
6:39:03.9226174 AM miniperl.exe 11984 11744 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
4\,096\, Length: 4\,096
6:39:03.9233130 AM miniperl.exe 11984 11744 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
8\,192\, Length: 4\,096
6:39:03.9239181 AM miniperl.exe 11984 11744 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
12\,288\, Length: 4\,096
6:39:03.9250661 AM miniperl.exe 11984 11744 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
16\,384\, Length: 4\,096
6:39:03.9259762 AM miniperl.exe 11984 11744 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
20\,480\, Length: 2\,228
6:39:03.9265227 AM miniperl.exe 11984 11744 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm END OF FILE Offset:
22\,708\, Length: 4\,096
6:39:03.9265380 AM miniperl.exe 11984 11744 CloseFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS
AFTER
7:14:58.9773969 AM miniperl.exe 11096 10024 CreateFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Desired
Access: Generic Read\, Disposition: Open\, Options: Synchronous IO
Non-Alert\, Non-Directory File\, Attributes: N\, ShareMode: Read\, Write\,
AllocationSize: n/a\, OpenResult: Opened
7:14:58.9774992 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset: 0\,
Length: 4\,096
7:14:58.9783392 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
4\,096\, Length: 4\,096
7:14:58.9790779 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
8\,192\, Length: 4\,096
7:14:58.9802981 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
12\,288\, Length: 4\,096
7:14:58.9813379 AM miniperl.exe 11096 10024 ReadFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS Offset:
16\,384\, Length: 4\,096
7:14:58.9822146 AM miniperl.exe 11096 10024 CloseFile
C:\perl521\srcnewb4opt\dist\PathTools\Cwd.pm SUCCESS
On Sat Oct 11 18:55:25 2014\, bulk88 wrote:
This is a bug report for perl from bulk88@hotmail.com\, generated with the help of perlbug 1.40 running under perl 5.21.4.
----------------------------------------------------------------- [Please describe your issue here]
See attached patch.
Youâve accidentally blown away the hierarchy tree in warnings.pm and instead left the placeholder that warnings.pl usually replaces with the tree:
+=for warnings.pl tree-goes-here
--
Father Chrysostomos
The RT System itself - Status changed from 'new' to 'open'
On Sat Oct 11 23:44:52 2014\, sprout wrote:
On Sat Oct 11 18:55:25 2014\, bulk88 wrote:
This is a bug report for perl from bulk88@hotmail.com\, generated with the help of perlbug 1.40 running under perl 5.21.4.
----------------------------------------------------------------- [Please describe your issue here]
See attached patch.
Youâve accidentally blown away the hierarchy tree in warnings.pm and instead left the placeholder that warnings.pl usually replaces with the tree:
+=for warnings.pl tree-goes-here
Revised patch attached. warnings.pl had code moved around so that tree is after KEYWORDS sentinel.
-- bulk88 ~ bulk88 at hotmail.com
After making this patch I did some analysis of a capture of all ReadFile calls by any miniperl.exe process during a "nmake all". I've attached a CSV file with the hottest by number of read calls (and all of them are in 4096 bytes or less if EOF at a time chunks). I cut it off after 10 since otherwise almost (maybe thats an exaggeration) every .pm file in the repo will be in the list. This list is basically a list of which .pm files to make as short as possible for the perl compiler/parser\, or to refactor into heavy and light versions\, or remove whitespace from them or remove excessive source code comments. If the perl code section of the .pm is below 4096\, there is nothing to optimize obviously\, except by removing the dependency on that module completely from some invocations/loads of that module.
-- bulk88 ~ bulk88 at hotmail.com
[miniperl_read()_calls_by_file.csv](https://rt-archive.perl.org/perl5/Ticket/Attachment/1313006/697938/miniperl_read()_calls_by_file.csv)
On Sun Oct 12 00:45:02 2014\, bulk88 wrote:
On Sat Oct 11 23:44:52 2014\, sprout wrote:
On Sat Oct 11 18:55:25 2014\, bulk88 wrote:
This is a bug report for perl from bulk88@hotmail.com\, generated with the help of perlbug 1.40 running under perl 5.21.4.
----------------------------------------------------------------- [Please describe your issue here]
See attached patch.
Youâve accidentally blown away the hierarchy tree in warnings.pm and instead left the placeholder that warnings.pl usually replaces with the tree:
+=for warnings.pl tree-goes-here
Revised patch attached. warnings.pl had code moved around so that tree is after KEYWORDS sentinel.
It did not apply cleanly\, so I pushed it to the sprout/122955 branch\, since I am notorious for screwing up things like this. Please review it.
--
Father Chrysostomos
On Sun Oct 12 07:56:16 2014\, sprout wrote:
It did not apply cleanly\, so I pushed it to the sprout/122955 branch\, since I am notorious for screwing up things like this. Please review it.
Since the risk is high of screwing up is high since a new warnings flag was added recently and the first patch was broken\, I've removed the warnings.pl/warnings.pl stuff\, and it will be in a future patch on a more recent blead. Attached is a simpler patch with warnings.pm stuff removed. There should be no conflicts.
-- bulk88 ~ bulk88 at hotmail.com
On Sun Oct 12 01:43:46 2014\, bulk88 wrote:
After making this patch I did some analysis of a capture of all ReadFile calls by any miniperl.exe process during a "nmake all". I've attached a CSV file with the hottest by number of read calls (and all of them are in 4096 bytes or less if EOF at a time chunks).
I'd considered reading perl source with a buffer size of 4096 to be a bug in itself.
Tony
On Sun Oct 12 17:04:09 2014\, tonyc wrote:
On Sun Oct 12 01:43:46 2014\, bulk88 wrote:
After making this patch I did some analysis of a capture of all ReadFile calls by any miniperl.exe process during a "nmake all". I've attached a CSV file with the hottest by number of read calls (and all of them are in 4096 bytes or less if EOF at a time chunks).
I'd considered reading perl source with a buffer size of 4096 to be a bug in itself.
Could you clarify?
--
Father Chrysostomos
On Sun Oct 12 16:08:10 2014\, bulk88 wrote:
On Sun Oct 12 07:56:16 2014\, sprout wrote:
It did not apply cleanly\, so I pushed it to the sprout/122955 branch\, since I am notorious for screwing up things like this. Please review it.
Since the risk is high of screwing up is high since a new warnings flag was added recently and the first patch was broken\, I've removed the warnings.pl/warnings.pl stuff\, and it will be in a future patch on a more recent blead. Attached is a simpler patch with warnings.pm stuff removed. There should be no conflicts.
Fixed a comment in win32/Makefile in the last patch + rebased to latest blead.
-- bulk88 ~ bulk88 at hotmail.com
On Sun\, Oct 12\, 2014 at 7:53 PM\, Father Chrysostomos via RT \perlbug\-followup@​perl\.org wrote:
I'd considered reading perl source with a buffer size of 4096 to be a bug in itself.
Could you clarify?
Reading 4K at a time off disk is going to be inefficient compared to reading larger chunks\, especially if we're stopping to expand memory and/or percolate up through the perlio layers each time. When using perlio\, the perlio buffer should be the larger of 8192 and BUFSIZ\, which increased speed dramatically compare to 4K buffers. See
http://perl5.git.perl.org/perl.git/commitdiff/b83080de5c42543809ce9004bcdbcd3162a00e70
Of course 8K is pretty small by today's standards so that could probably be revisited. One of the problems is that the buffer is the same size regardless of whether we're reading off disk or through a pipe. And what's optimal for reading files in general may or may not be optimal for reading Perl source.
On Sun Oct 12 07:56:16 2014\, sprout wrote:
It did not apply cleanly\, so I pushed it to the sprout/122955 branch\, since I am notorious for screwing up things like this. Please review it.
Since I didn't feel comfortable in reviewing sprout/122955 and merge conflicts. I redid the warnings.pm stuff from scratch using the latest blead. 2 patches attaches. Whitespace patch is new.
-- bulk88 ~ bulk88 at hotmail.com
On Sun\, 12 Oct 2014 20:30:34 -0500\, "Craig A. Berry" \craig\.a\.berry@​gmail\.com wrote:
On Sun\, Oct 12\, 2014 at 7:53 PM\, Father Chrysostomos via RT \perlbug\-followup@​perl\.org wrote:
I'd considered reading perl source with a buffer size of 4096 to be a bug in itself.
Could you clarify?
Reading 4K at a time off disk is going to be inefficient compared to reading larger chunks\, especially if we're stopping to expand memory and/or percolate up through the perlio layers each time. When using perlio\, the perlio buffer should be the larger of 8192 and BUFSIZ\, which increased speed dramatically compare to 4K buffers. See
http://perl5.git.perl.org/perl.git/commitdiff/b83080de5c42543809ce9004bcdbcd3162a00e70
Of course 8K is pretty small by today's standards so that could probably be revisited. One of the problems is that the buffer is the same size regardless of whether we're reading off disk or through a pipe. And what's optimal for reading files in general may or may not be optimal for reading Perl source.
I did a quick inventory of all local mounted file systems on HP-UX I explicitly excluded /stand (linux-talk /boot) as that seems to have a larger block-size than the other FS's
All HP-UX versions have 1024 as BUFSIZE in /usr/include/stdio.h
bsize /stand 10.20: 1024 8192 (PA2) 11.00: 8192 65536 (PA2) 11.11: 8192 65536 (PA2) 11.23: 8192 65536 (PA2) 11.23: 8192 8192 (IPF) 11.31: 8192 8192 (IPF)
# di -l | perl -ne'm{^(/dev\S+)\s+(\S+)} and print "$1\t$2\t"\, grep /bsize/ => `fstyp -v $1\n`' /dev/vg00/lvol3 / f_bsize: 8192 /dev/vg00/data /data f_bsize: 8192 /dev/vg00/home /home f_bsize: 8192 /dev/vg00/opt /opt f_bsize: 8192 /dev/vg00/pro /pro f_bsize: 8192 /dev/vg00/prodb /prodb f_bsize: 8192 /dev/vg00/lvol1 /stand f_bsize: 8192 /dev/vg00/tmp /tmp f_bsize: 8192 /dev/vg00/usr /usr f_bsize: 8192 /dev/vg00/lvol8 /var f_bsize: 8192 /dev/vg00/wrk /wrk f_bsize: 8192
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.19 porting perl5 on HP-UX\, AIX\, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
On Sun Oct 12 19:47:57 2014\, bulk88 wrote:
On Sun Oct 12 07:56:16 2014\, sprout wrote:
It did not apply cleanly\, so I pushed it to the sprout/122955 branch\, since I am notorious for screwing up things like this. Please review it.
Since I didn't feel comfortable in reviewing sprout/122955 and merge conflicts. I redid the warnings.pm stuff from scratch using the latest blead. 2 patches attaches. Whitespace patch is new.
Thank you. I have applied these two as effd17dc01 and 56873d4238 and your original patch\, minus the warnings changes\, as f4eedc6b8.
--
Father Chrysostomos
@cpansprout - Status changed from 'open' to 'resolved'
On Mon\, Oct 13\, 2014 at 1:16 AM\, H.Merijn Brand \h\.m\.brand@​xs4all\.nl wrote:
On Sun\, 12 Oct 2014 20:30:34 -0500\, "Craig A. Berry" \craig\.a\.berry@​gmail\.com wrote:
On Sun\, Oct 12\, 2014 at 7:53 PM\, Father Chrysostomos via RT \perlbug\-followup@​perl\.org wrote:
I'd considered reading perl source with a buffer size of 4096 to be a bug in itself.
It seems not to be perlio's fault. Using the -DP debug option shows that an 8K perlio buffer (or I guess really it's a crlf buffer not perlio since this is Windows) gets filled and depleted 5 times when reading in the 40\,986-byte warnings.pm\, which sounds about right:
c:\perlgit>.\perl -Ilib -DP -e "use warnings;" 2>sv_gets_debug.txt
c:\perlgit>find "cnt=8191" sv_gets_debug.txt
---------- SV_GETS_DEBUG.TXT Screamer: after getc\, ptr=2856305\, cnt=8191 Screamer: after getc\, ptr=2856305\, cnt=8191 Screamer: after getc\, ptr=2856305\, cnt=8191 Screamer: after getc\, ptr=2856305\, cnt=8191 Screamer: after getc\, ptr=2856305\, cnt=8191
I assume here that 8192 bytes are read and the getc consumes one so the 8191 is how many bytes are left.
I could be missing something as sv_gets() and add_filter() and friends are pretty hairy\, but it looks as though the 4K ReadFile operations that bulk88 originally reported are something the CRT does with read() rather than anything that happens within Perl. Don't know if a setvbuf() or something could improve on that. To be clear\, I'm speculating on what could be sub-optimal about fundamental read operations and am not talking about the patches in the ticket\, which seem like reasonable workarounds.
Migrated from rt.perl.org#122955 (status was 'resolved')
Searchable as RT122955$