T.R | Title | User | Personal Name | Date | Lines |
---|
3034.1 | | FORTY2::DALLAS | Paul Dallas, DEC/EDI @REO2-F/E2 | Fri Feb 28 1997 09:38 | 15 |
| Martin,
What EDI standard is used? If this is EDIFACT then there is an
improvement in efficiency in version V2.1D of DEC/EDI. Basically when
the transmission file was split, the TFS notified the Translator of the
TRANSMISSION FILE NAME. This reduced traffic between the TFS and TRNS,
but increased the traffic to the database, since both the TFS and TRNS
were trying to lock records in the Audit database. In V2.1D, the
individual document ids are passed to the TRNS, increasing the internal
traffic but reducing database activity and decreasing locking.
If EDIFACT is being used, it may be worth upgrading to V2.1D, when it
ships on VAX (next month I believe). It's already shipping on Alpha.
P.
|
3034.2 | | METSYS::THOMPSON | | Fri Feb 28 1997 19:14 | 6 |
| Hi,
Whoever called on Friday - sorry I was out!
(dtn: 838 3999).
M
|
3034.3 | the story continues | UTRTSC::SMEETS | Workgroup support | Sat Mar 01 1997 19:35 | 39 |
| Hi Paul and Mark,
>> Whoever called on Friday - sorry I was out!
>> (dtn: 838 3999).
It was probably someome from our local escalation management. I was friday
on site and time was running out of us. Monday March 3th the customer had to
prove he could handle a load of 40000 documents in 10 hours.
Due to problems as described in the base note we needed some clarifaction from
engineering. was the problem we'd encountered solved in V2.1D.
Alas in V2.1D the occuring of Deadlocks between the TFS and the TRNS had been
minimized, but we we're looking at deadlock between the IMPEXP and the TFS.
The customer had some 1500 documents in the IMPEXP directory all for the some
connection and all for the same partner.
As part of the IMPEXP proces Transmission file details are putted in the AUDIT
database (CLF_TABLE) and the index is updated. The index is based on several
fields among other the creation date (Quadword). For all 1500 TF's the only
different field is the creation date. The creation date has a resolution up to
an one hundreds of a second.
But due to the fact that the machine is so fast the hashing algorithm will
very often fail which will lead to deadlock situations (10 seconds timeout) as
seen between the IMPEXP process and the TFS proces.
As a workaround we now put 500 documents in one transmission file.
As discussed with Paul Dallas friday afternoon, the hashing algorithm needs to
be changed in order to handle fast machines with large amounts of files.
Tuesday I'll be back in office and will raise an IPMT case for this.
Martin
p.s. Paul, thanks a lot for your cooperation last friday.
|
3034.4 | Reproducible | UTRTSC::SMEETS | Workgroup support | Tue Mar 04 1997 10:59 | 18 |
| Hi Paul and Mark,
The problem is reproducible on our inhouse test system (V2.1C +. RDB V5.1-0)
(MicroVAX 3100-80, 48 MB), so the problem is not "speed" related.
I've created 100 (identical) TF's, all for the same connection and the same
partner in the IMPEXP directory.
Then I started the connection and watch the DECEDI$AUDIT_DB via
RMU/SHOW STAT DECEDI$AUDIT_DB. In the menu I choose for the option "Active user
Stall Messages"
There I could see that the IMPEXP and the TFS process very frequently cause
deadlock situation which last 10 seconds per deadlock.
This has a huge impact on the throughput.
Martin
|
3034.5 | DEADLOCK_WAIT | METSYS::NELSON | David, http://samedi.reo.dec.com/ | Tue Mar 04 1997 11:50 | 4 |
|
Have you tried to change the default deadlock timeout value?
Change DEADLOCK_WAIT to something else.
|
3034.6 | DEADLOCK_WAIT doesn't solve the initial problem | UTRTSC::SMEETS | Workgroup support | Tue Mar 04 1997 12:29 | 13 |
| Hi David,
>> Have you tried to change the default deadlock timeout value?
>> Change DEADLOCK_WAIT to something else.
Yes, we've changed the DEADLOCK_WAIT to 5 sec and indeed the throughput
increased but lowering the DEADLOCK_WAIT value doesn't solve the initial problem
of the occurence of the high rate of deadlocks.
Lowering the DEADLOCK_WAIT value just reduces the impact of the problem.
Martin
|