3 Replies Latest reply: Jan 5, 2011 11:02 AM by Carl Gerlach RSS

Does TM ART Support CIFS or SMB transactions monitoring?

Carl Gerlach

Hi all:

 

I have been asked to create a number of scripts to test how changes on the desktop (Client PC) effect the performance of the application, and in the current case, how a particular chnage that might benefit the application I am monitoring may effect performance of basic file transfers (not FTP, but Network share related file open/close, copy to and from the desktop client).

 

Is there a way to create a script that does what I am trying to monitor? If so, can you point me in the direction of some examples?

 

Thank you in advance for any assistance you can provide.

 

Carl

  • 1. Re: Does TM ART Support CIFS or SMB transactions monitoring?
    Adam Wemlinger

    This might get you going in the right direction. Did this one to monitor response time of different file sizes across the WAN. Mainly to prove the point that large pictures in email are much slower to open from locations with smaller circuits.

     

     

    transaction ImageFile_316KB
      var
        sData  : string(350000);
        hFile0, nRead : number;
      begin
        FOpen(hFile0, "\\\\a0319p59\\Pan Share\\FileTest\\Panther316KB.jpg");
        FRead(hFile0, sData, STRING_COMPLETE, nRead);
        FClose(hFile0);
        Writeln(string(nRead)+" bytes read from PantherBig.jpg");   
      end ImageFile_316KB;

  • 2. Re: Does TM ART Support CIFS or SMB transactions monitoring?
    Carl Gerlach

    Thanks Adam. I believe you have put me on the right track. I'll update the discussion thread with my results.

     

    Thanks again for your help.

     

    Carl

  • 3. Does TM ART Support CIFS or SMB transactions monitoring?
    Carl Gerlach

    It's been late  coming but here's what I did to test performance of transfering a PDF, DOC and XLS file before and after changing the TCP_ACK registry entry on a Desktop PC running TM ART Execution Server v3.9.

     

     

    ***************

    //-------------------------------------------------------------------

    // Benchmark Script Template

    //-------------------------------------------------------------------

    // Author : Carl Gerlach

    // Date   : 10/06/2010 Original

    // History: 10/29/2010 Added MS Word and MS Excel file transactions

    //          This script requires the Execution server to be running

    //          under a user ID in the CORP domain with access to the

    //          \\MPINASP\Public network share,

    //-------------------------------------------------------------------

    // Benchmark Description:Test effect of MS Windows Registry TCP/Ack

    // Chg on network file transfers.

    //-------------------------------------------------------------------

     

    benchmark BenchmarkName

     

    use "kernel.bdh"

     

    // Definition of global variables: string, number, float, boolean, array

    var     

      sData : string(2097152);

      hFile0, nRead : number;

      nSize : number;

     

    // Workload Section

    dcluser 

      user

        VirtUser

      transactions

        TInit           : begin;  // Initialization

        PDFfile         : 1;      // Transaction 1

        WORDfile        : 1;      // Transaction 2

        EXCELfile       : 1;      // Transaction 3

        TEnd            : end;    // Termination

     

    // Transactions Section

    dcltrans

      transaction TInit

      begin    

        EnableUNCAccess("MPINASP","DOMAIN\\user_id","password");

      end TInit;

     

      transaction PDFfile

      begin

        FOpen(hFile0, "\\\\mpinasp\\Public\\TM_ART_Test\\PMUserGuide.pdf");

        FSizeGet(hFile0, nSize);

        writeln;

        write("File Size: "); write(nSize);

        writeln;

        WriteLog(string(nSize)+" Size of the PDF file. ");

        FRead(hFile0, sData, STRING_COMPLETE, nRead);

        FClose(hFIle0);

        WriteLog(string(nRead)+" bytes read from Acrobat PDF File. ");

      end PDFfile;

     

      transaction WORDfile

      begin

        FOpen(hFile0, "\\\\mpinasp\\Public\\TM_ART_Test\\Setting up an Archive in Microsoft Outlook 2007.doc");

        FSizeGet(hFile0, nSize);

        writeln;

        write("File Size: "); write(nSize);

        writeln;

        WriteLog(string(nSize)+" Size of the Word file. ");   

        FRead(hFile0, sData, STRING_COMPLETE, nRead);

        FClose(hFIle0);

        WriteLog(string(nRead)+" bytes read from MS Word File");

      end WORDfile;

     

      transaction EXCELfile

      begin

        FOpen(hFile0, "\\\\mpinasp\\Public\\TM_ART_Test\\Edmonton Migration.xls");

        FSizeGet(hFile0, nSize);

        writeln;

        write("File Size: "); write(nSize);

        writeln;

        WriteLog(string(nSize)+" Size of the Excel file. ");       

        FRead(hFile0, sData, STRING_COMPLETE, nRead);

        FClose(hFIle0);

        WriteLog(string(nRead)+" bytes read from MS Excel File");  

      end EXCELfile;

     

      transaction TEnd

      begin

        // end statements

      end TEnd;

     

    **********************

    I'm sure that there is probably a better way to do this (and I hope I didn't make any glaring error that would effect my results) but I believe I received valid results.

     

    If you have any comments, recommendations, improvements, please don't hesitate to reply.

     

    Thank you.

     

    Carl