ADSM-L

Antwort: Re: Antwort: Re: 2 LTO-Drives Load-Balancing

2004-03-04 06:36:20
Subject: Antwort: Re: Antwort: Re: 2 LTO-Drives Load-Balancing
From: Patrick Rainer <Patrick.Rainer AT ARZ.CO DOT AT>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 4 Mar 2004 12:35:49 +0100
Hi again

Thanks for your help. I tried the two scripts, after little manupilation.
They simply do the same than we did: Calculating the transferrate out of
the time and the amount of the transmitted bytes.
The srcipts can be found at the server-directory in the file scripts.smp

My output:
-------------------------------------------------------------------------------------
tsm: A99075DA>q script q_proc_stats f=r
/*  -----------------------------------------*/
/*  Script Name:  Q_PROC_STATS               */
/*  Description: Display running time and    */
/*               throughput in files and     */
/*               bytes for processes         */
/*  Parameter:   none                        */
/*  Example:  run q_proc_stats               */
/*  -----------------------------------------*/
select process_num as "Number",process,-
  current_timestamp-start_time as "Elapsed Time",-
  (cast(files_processed as decimal(18,0)) / -
  cast((current_timestamp-start_time)seconds as -
  decimal(18,0))) "Files/second",-
  (cast(bytes_processed as decimal(18,0)) / -
  cast((current_timestamp-start_time)seconds as -
  decimal(18,0))) "Bytes/second" -
  from processes where -
  cast((current_timestamp-start_time)seconds -
  as decimal)>0
---------------------------------------------------------------------------------------
tsm: A99075DA>run q_proc_stats

      Number: 18
     PROCESS: Migration
Elapsed Time: 0 00:06:44.000000
Files/second: 75.7846534653465
Bytes/second: 7286763.7227722772277

      Number: 19
     PROCESS: Migration
Elapsed Time: 0 00:06:44.000000
Files/second: 191.2772277227722
Bytes/second: 8007213.6237623762376

ANR1462I RUN: Command script Q_PROC_STATS completed successfully.
------------------------------------------------------------------------------------------
tsm: A99075DA>q script q_ses_stats f=r
/*  -----------------------------------------*/
/*  Script Name:  Q_SES_STATS                */
/*  Description: Display connection time     */
/*               and send and receive        */
/*               throughput for active       */
/*               sessions                    */
/*  Parameter:   none                        */
/*  Example:  run q_ses_stats                */
/*  -----------------------------------------*/
select session_id as "Session", -
  client_name as "Client", state as "State", -
  current_timestamp-start_time as "Elapsed Time",-
  (cast(bytes_sent as decimal(18,0)) / -
  cast((current_timestamp-start_time)seconds as -
  decimal(18,0))) "Bytes sent/second",-
  (cast(bytes_received as decimal(18,0)) / -
  cast((current_timestamp-start_time)seconds as -
  decimal(18,0))) "Bytes received/second" -
  from sessions where -
  cast((current_timestamp-start_time)seconds -
  as decimal)>0
------------------------------------------------------------------------------------------
tsm: A99075DA>run q_ses_stats

              Session: 127
               Client: ADMIN
                State: Run
         Elapsed Time: 0 21:27:49.000000
    Bytes sent/second: 1.6774256170003
Bytes received/second: 0.0013718308765

              Session: 261
               Client: ADMIN
                State: IdleW
         Elapsed Time: 0 02:14:56.000000
    Bytes sent/second: 4.9764081027667
Bytes received/second: 0.2617341897233

              Session: 265
               Client: ADMIN
                State: Run
         Elapsed Time: 0 00:02:19.000000
    Bytes sent/second: 47.8129496402877
Bytes received/second: 5.5107913669064

ANR1462I RUN: Command script Q_SES_STATS completed successfully.

tsm: A99075DA>



Best regards

Patrick





"Wilcox, Andy" <andy.wilcox AT AQUILA-NETWORKS.CO DOT UK>
Gesendet von: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>

04.03.2004 11:49
Bitte antworten zu
"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>


An
ADSM-L AT VM.MARIST DOT EDU
Kopie

Thema
Re: Antwort: Re: 2 LTO-Drives Load-Balancing






Miles,

I think you need to give a little more info as the two scripts sound like
local scripts to yourselves. You will need to give the content of your
scripts to be useful...

eg:

query script q_proc_stats f=d
query script q_ses_stats f=d

... and look at what follows "Command:"

Many thanks

Andy Wilcox
UNIX Systems Administrator
Aquila Networks

-----Original Message-----
From: Miles Purdy [mailto:PURDYM AT FIPD.GC DOT CA]
Sent: 03 March 2004 21:03
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Antwort: Re: 2 LTO-Drives Load-Balancing


Just an aside, as the processes are running, type this command into TSM:

> run q_proc_stats

It will show the transfer rate of each process. There is also a 'run
r_ses_stats'.

Miles


>>> Patrick.Rainer AT ARZ.CO DOT AT 03-Mar-04 8:35:47 AM >>>
Hello again

Sorry. Maybe my question can be wrong interpreted.
For example:

I have two migration processes from disk stgpool to tape drive.
My diskdrives offer about 20MB/s.
The question:
Is the transferrate of the diskdrives split up for the tape drives to 50%
for each drive? (10MB/s per drive) (Also means 50% per process)
Or uses one drive the full transferrate which is possible for one drive
(15MB/s) and the other drive only gets the rest (5MB/s)?

My problem -> 5MB/s means permanent Stop-and-Go-mode for one drive.
I would like to hear, that the TSM-server splits up the transferrate. This
means each migration process/job uses 10MB/s.

Thank you.

Best regards

Patrick



Karel Bos <Karel.Bos AT NUON DOT COM>
Gesendet von: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>

03.03.2004 15:04
Bitte antworten zu
"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>


An
ADSM-L AT VM.MARIST DOT EDU
Kopie

Thema
Re: 2 LTO-Drives Load-Balancing






TSM is not load-balancing on a drive level. TSM will use multiple drives
on
a job level.

Regards,

Karel

-----Oorspronkelijk bericht-----
Van: Patrick Rainer [mailto:Patrick.Rainer AT ARZ.CO DOT AT]
Verzonden: woensdag 3 maart 2004 14:41
Aan: ADSM-L AT VM.MARIST DOT EDU
Onderwerp: 2 LTO-Drives Load-Balancing


Hello TSM users, a.a.o.o


I searched the mailinglist archive and the discussion forum, but did not
found a solution for my problem.
We are using TSM 5.2.2.1 for library evaluation. We are testing a HP
MSL5030 with two LTO1 drives.
Our disks provide a datarate of about 20MB/s.
LTO1 supports a datarate of maximum 15MB/s and starts STOP-and-GO-Mode at
about 7MB/s.
My question:
Is the TSM-Server balancing the load of the two drives?
That means: Every drive gets about 10MB/s
Or gets one drive 15 MB/s and the other only 5 MB/s?

We tried to analyze this load, but it isn't that simple. The only way is
to calculate the load out of the transfered bytes and the needed time.
How is it possible to monitor the load of one drive?
(HP told us, we shoud check if the LED's are blinking slow or fast ?!?)

Any ideas??


Best regards

Patrick


****************************************************************************
************************
Confidentiality: This e-mail and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to
whom they are addressed.  If you have received this e-mail in error, use
of
this information (including disclosure, copying or distribution) may be
unlawful.  Please notify postmaster AT aquila-networks.co DOT uk. and delete the
message immediately.

Security: Internet e-mail is not a 100% secure communications medium.

Viruses: This e-mail (and any attachments) has been checked (using Sophos
Sweep 3.68 + patches) and found to be clean from any virus infection
before
leaving.
Therefore neither Aquila Networks Services Ltd nor Midlands Electricity
plc
or any of their group undertakings  (as defined by the Companies Act 1989)
(together referred to as the "Companies") accept legal responsibility for
this message or liability for the consequences of any computer viruses
which
may have been transmitted by this e-mail.

Monitoring: All electronic communications with the Companies may be
monitored in accordance with the UK Regulation of Investigatory Powers
Act,
Lawful Business Practice Regulations, 2000.  If you do not consent to such
monitoring, you should contact the sender of this e-mail.

Aquila Networks Services Limited,
Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB
Registered in England and Wales number 3600545
This e-mail may be sent on behalf of any of the Companies.
****************************************************************************
************************


****************************************************************************************************
Confidentiality: This e-mail and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to whom they are addressed.  If you have received this e-mail in error,
use of this information (including disclosure, copying or distribution)
may be unlawful.  Please notify postmaster AT aquila-networks.co DOT uk. and
delete the message immediately.
Security: Internet e-mail is not a 100% secure communications medium.
Viruses: This e-mail (and any attachments) has been checked (using Sophos
Sweep 3.74 + patches) and found to be clean from any virus infection
before leaving.
Therefore neither Aquila Networks Services Ltd nor Midlands Electricity
plc  or any of their group undertakings  (as defined by the Companies Act
1989) (together referred to as the "Companies") accept legal
responsibility for this message or liability for the consequences of any
computer viruses which may have been transmitted by this e-mail.

Monitoring: All electronic communications with the Companies may be
monitored in accordance with the UK Regulation of Investigatory Powers
Act, Lawful Business Practice Regulations, 2000.  If you do not consent to
such monitoring, you should contact the sender of this e-mail.
Aquila Networks Services Limited,
Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB
Registered in England and Wales number 3600545
This e-mail may be sent on behalf of any of the Companies.
****************************************************************************************************

<Prev in Thread] Current Thread [Next in Thread>