Skip to main content
Dominique Sacre
Rocketeer
Sep 10, 2020 5:06 PM UTC

network data access

Good Morning I have the following problem:
I have a server with W10 and my programs installed on it (runcobol v.11, 5 users).
I have 2 more computers with w10.
if I run the query from one of the network computers, everything is fine. 
But if I run the same query on both workstations, the second computer that runs
it slows down tremendously.

I have verified that the problem is that the 2 computers access the same file
that has been opened. 
I have removed firewall and antivirus and it does not fix the problem. What I can do?

 

    19 replies

    Thomas Morrison
    Participating Frequently
    Sep 22, 2020 4:42 AM UTC

    Hi.

    I have activated SMB 1.5 and there is no difference either.

    I have continued doing tests, I have tested on machines with w7 (server and workstation with W7) and the result is the same.

    The problem is that if I run the test alone, it works fine, but if I run it on 2 machines, it slows down a lot.

    There is no one who has this problem ???

    I am very sorry to insist on this issue but I am beginning to think that it could be a problem of RMCOBOL.

    There have been people who have told me that the solution is to work by remote desktop, but I think this is just a patch.

    Your next step is to reproduce the symptoms using a current version. As mentioned earlier in this thread, you are using a version that predates (by years) Windows 10. The latest versions ofthe product will be using later versions of Microsoft libraries and redistributables.
    Tom Morrison, Consultant, South Carolina, USA
    Dominique Sacre
    Rocketeer
    Sep 24, 2020 3:54 PM UTC
    Your next step is to reproduce the symptoms using a current version. As mentioned earlier in this thread, you are using a version that predates (by years) Windows 10. The latest versions ofthe product will be using later versions of Microsoft libraries and redistributables.
    Greetings to all.
    I have also tried with w12.08 and the problem repeats exactly the same,
    anyway I remember that I have also carried out the tests on W7 with RM11 and it also
    causes the same problem, so I do not think it is a version problem.
    I increasingly believe in a language problem.
    Sep 25, 2020 7:02 PM UTC
    Greetings to all.
    I have also tried with w12.08 and the problem repeats exactly the same,
    anyway I remember that I have also carried out the tests on W7 with RM11 and it also
    causes the same problem, so I do not think it is a version problem.
    I increasingly believe in a language problem.
    I think I have had a similar case. I explain it to see if this helps. As one of my clients was installing Windows 10, the pcs that had a low graphic quality began to present a slowness in reading the files. This was solved by pure chance when they decided to buy new, modern monitors.
    In the second case, I identify that the "READ NEXT" does not contain "WITH NO LOCK". This may help but I am not sure.
    Anyway I make these two suggestions to see what happens.
               INITIALIZE LST-REG.
               MOVE W-CL TO LST-CL.
               START LST KEY NOT < LST-MAIN-KEY INVALID
                     GO T-END.
           READ-LST.
               READ LST NEXT RECORD WITH NO LOCK AT END
                    GO TO T-END.
    Dominique Sacre
    Rocketeer
    Sep 28, 2020 8:37 PM UTC
    I think I have had a similar case. I explain it to see if this helps. As one of my clients was installing Windows 10, the pcs that had a low graphic quality began to present a slowness in reading the files. This was solved by pure chance when they decided to buy new, modern monitors.
    In the second case, I identify that the "READ NEXT" does not contain "WITH NO LOCK". This may help but I am not sure.
    Anyway I make these two suggestions to see what happens.
               INITIALIZE LST-REG.
               MOVE W-CL TO LST-CL.
               START LST KEY NOT < LST-MAIN-KEY INVALID
                     GO T-END.
           READ-LST.
               READ LST NEXT RECORD WITH NO LOCK AT END
                    GO TO T-END.

     

    Hi.
    today I have tried to put the no lock in the read and everything remains the same.
    I have done 2 tests, in the program I put an ACCEPT CR to stop it just after
    opening the file and I open it in INPUT mode.

    On the first machine I run it but I don't pass ACCEPT CR, this way the program goes fast,
    but if instead of opening the file in INPUT mode, I do it in I-O mode,
    the program slows down a lot.
    Thomas Morrison
    Participating Frequently
    Sep 28, 2020 8:58 PM UTC

     

    Hi.
    today I have tried to put the no lock in the read and everything remains the same.
    I have done 2 tests, in the program I put an ACCEPT CR to stop it just after
    opening the file and I open it in INPUT mode.

    On the first machine I run it but I don't pass ACCEPT CR, this way the program goes fast,
    but if instead of opening the file in INPUT mode, I do it in I-O mode,
    the program slows down a lot.
    So, now you know that the issue is simply the speed of region locks (i. e. record locking) over the network. Which brings us back to SMB configuration - see above. (Files open i-o in the default automatic locking mode lock records during reads.)
    Tom Morrison, Consultant, South Carolina, USA
    Dominique Sacre
    Rocketeer
    Sep 29, 2020 2:55 PM UTC
    So, now you know that the issue is simply the speed of region locks (i. e. record locking) over the network. Which brings us back to SMB configuration - see above. (Files open i-o in the default automatic locking mode lock records during reads.)

    Thanks Tom.

    I already activated SMB 1.5 and I didn't have a solution either, 
    could you tell me what I can do ???
    Thomas Morrison
    Participating Frequently
    Sep 29, 2020 4:48 PM UTC

    Thanks Tom.

    I already activated SMB 1.5 and I didn't have a solution either, 
    could you tell me what I can do ???

    Have you changed the SMB 1.0/CIFS Client option and restarted the machine?

    At this point, I think you must continue researching SMB on Windows 10 (which changed to SMB3 with encryption, etc.) and attempt to make sure that the connection is forced back to earlier SMB version.  

    The RM/COBOL product line includes RM/InfoExpress, which was developed to overcome some of the issues created by native file systems that are not necessarily record oriented, and which do things that are rather hostile to record locking, etc.  InfoExpress is a client-server implementation of the RM file system.

    Note also that this is an issue with any product that has similar characteristics, including several database systems.

    Good luck!

    Tom Morrison, Consultant, South Carolina, USA
    Oct 12, 2020 1:31 AM UTC

    Have you changed the SMB 1.0/CIFS Client option and restarted the machine?

    At this point, I think you must continue researching SMB on Windows 10 (which changed to SMB3 with encryption, etc.) and attempt to make sure that the connection is forced back to earlier SMB version.  

    The RM/COBOL product line includes RM/InfoExpress, which was developed to overcome some of the issues created by native file systems that are not necessarily record oriented, and which do things that are rather hostile to record locking, etc.  InfoExpress is a client-server implementation of the RM file system.

    Note also that this is an issue with any product that has similar characteristics, including several database systems.

    Good luck!

    Hi. I have a client that uses a pc as a server with windows 2008 server. 4 pcs with Windows 10 professional are connected to the server. Recently my client is experiencing a problem of slowness to display the information in listbox that previously filled quickly. Tom Morrison explains the use of SMB configuration, which I have tried in different ways and the slowness continues. It is not a problem of the program because previously it always worked well. I think something more complicated is being presented possibly because of the changes in Windows 10. I think the experts should review the problem.
    Oct 12, 2020 3:33 AM UTC
    Hi. I have a client that uses a pc as a server with windows 2008 server. 4 pcs with Windows 10 professional are connected to the server. Recently my client is experiencing a problem of slowness to display the information in listbox that previously filled quickly. Tom Morrison explains the use of SMB configuration, which I have tried in different ways and the slowness continues. It is not a problem of the program because previously it always worked well. I think something more complicated is being presented possibly because of the changes in Windows 10. I think the experts should review the problem.
    I want you to dismiss my previous comment, sorry, but at the moment it was about admin permissions which produced similar problems. Thank you.