-
1. Re: Does TM ART Support CIFS or SMB transactions monitoring?
Adam Wemlinger Oct 5, 2010 1:49 PM (in response to Carl Gerlach)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 Oct 5, 2010 8:11 PM (in response to Adam Wemlinger)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 Jan 5, 2011 11:02 AM (in response to 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