- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 08:57 AM
тАО02-19-2010 08:57 AM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 11:12 AM
тАО02-19-2010 11:12 AM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
I noticed the code has a C fsynch() call on each pass. If the disk the file being fsynched is on is fragmented, but the file itself isn't very fragmented, would there be excessive XQP time? There would be 0 or 1 fprintf() calls between the fsynch() calls. The file currently has 5 extents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 11:27 AM
тАО02-19-2010 11:27 AM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
I described the operation of DEL_EXTFCB in a previous reply. The code walks FCB chains to the VCB. Are there many files open on that disk ?
Why not write a simple example program doing fsync calls in a tight loop and watch the performance of that test program ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 01:12 PM
тАО02-19-2010 01:12 PM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 05:17 PM
тАО02-19-2010 05:17 PM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
SET FILE /CACHING_ATTRIBUTE=NO_CACHING file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 05:40 PM
тАО02-22-2010 05:40 PM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
I just noticed that SDA also has the "2BADCODE" (as well as "1BADCODE") problem with SHOW PROCESS/FULL but SDA PCS module doesn't.
Those who are into XQP may be amused by the attached pcs sh trace/stat output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 08:27 PM
тАО02-22-2010 08:27 PM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
fsync maps to an RMS $FLUSH which will tell the xqp to update the file header.
You did not mention revision (-H1?) or patch level. The makes the PCS trace (nice! ) data ambiguous.
Maybe you can use ANAL/SYS.. EXA/INST for one or two of the popular instructions to make sure we are looking at the same sources.
Like that 624 DEL_EXTFCB_C+00360
Is that a "ld4 r18 = [r27]" per chance?
I'm thinking it may be in...
UNTIL .P[VCB$B_TYPE] EQL DYN$C_VCB DO P = .P[FCB$L_FCBFL];
Also, is the system burning significant MPsync?
How about a spinlock trace, perhaps using @ SYS$EXAMPLES:SPL
Is there a lot of FILSYS time?
- Is this a cluster or standalone
- Any TRUNCATE calls happening?
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 11:42 PM
тАО02-22-2010 11:42 PM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
this process is clearly spending a lot of CPU cycles in DEL_EXTFCB. One question would be, why does it get there ? The other question is, why does it spend so much time in there once it gets there ?
There are a couple of loops in this routine, which walk the FCB chains.
$ ANAL/SYS
SDA> SHOW DEV disk-device-name
SDA> READ SYSDEF
SDA> VALI QUE vcb+vcb$l_fcbfl
How many FCBs are in that queue ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2010 11:57 PM
тАО02-22-2010 11:57 PM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
Of course pcs does not display that. The pc is fabricated and never actually sess that address.
Jur (PCS author).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 01:07 AM
тАО02-23-2010 01:07 AM
Re: SHOW PROCESS/CONT shows PC=2BAD2BAD.CODE2BAD?
when RMS is flushing the buffers, it looks like it only updates the file header (via a call to the XQP), if the end-of-file block number (IFB$L_EBK) has changed. So a simple fsync test without actually writing to the file may not trigger the behaviour seen in the application.
Volker.