66 DB2 10 for Linux on System z Using z/VM v6.2, SSI Clusters and LGR
The MTU size was set using the IP utility, as shown in Example 6-13.
Example 6-13 Setting the MTU to 8992 on the Linux guests
# on guest 1
itsolnx1:~ # ip link set dev eth1 mtu 8992
# on guest 2
itsolnx4:~ # ip link set dev eth1 mtu 8992
The SQL query shown in Example 6-14 was then run for each test, prefixed with “time”, to
check how long the query took to run. The results are presented on Table 6-2.
Example 6-14 SQL query run during the tests
db2inst1@itsolnx1:~> time db2 “select * from tablename” >/dev/null
The following were the tests we performed:
1. Test1 - Both guests reside on member 1. MTU size set to 1492 on both guests. Guest 1
issues the SQL query command.
2. Test2 - Both guests reside on member 1. MTU size set to 8992 on both guests. Guest 1
issues the SQL query command.
3. Test3 - Both guests reside on member 1. MTU size is set to 1492. Guest 2 is relocated to
member 3 while guest 1 issues the SQL query command.
4. Test4 - Both guests reside on member 1. MTU size is set to 8992. Guest 2 is relocated to
member 3 while guest 1 issues the SQL query command.
5. Test5 - Both guests reside on member 1. MTU size is set to 1492. Guest 2 is relocated to
member 4 while guest 1 issues the SQL query command.
6. Test6 - Both guests reside on member 1. MTU size is set to 8992. Guest 2 is relocated to
member 4 while guest 1 issues the SQL query command.
Table 6-2 Test results
Test scenarios running an SCP transfer
A file of approximately 900 MB was copied from guest 1 to guest 2 in each test, using the
command shown in Example 6-15. The results are presented in Table 6-3 on page 67.
Example 6-15 secure copy command executed during tests
db2inst1@itsolnx1:~> time scp largefile.img root@9.12.5.119:~/
Test # Guest From To MTU Time Relocation Processor
Load
1 itsoss4 itsossi1 itsossi1 8992 0m14.352s No 2
2 itsoss4 itsossi1 itsossi1 1492 0m13.186s No 2
3 itsoss4 itsossi1 itsossi3 8992 0m13.092s Yes 1
4 itsoss4 itsossi1 itsossi3 1492 0m13.713 Yes 1
5 itsoss4 itsossi1 itsossi4 8992 0m13.322 Yes 1
6 itsoss4 itsossi1 itsossi4 1492 0m14.010s Yes 1