NTttcp
NTttcp is a Windows base testing application that sends and receives TCP data between two or more endpoints. It’s a Winsock-based port of the ttcp tool that measures networking performance bytes/second.
Usage:
NTttcp [-s|-r] -m mapping
-s work as a sender
-r work as a receiver
-m mappping, Sessions,Processor,target ip address
-t runtime in seconds
Example:
NTttcp -s -m 4,0,192.168.10.11 -t 60
Sends 4 sessions on CPU 0 to host with ip address of 192.168.1.10 for 60 seconds.
Configuration:
Setup one system for receive and one system for send. Run the receive system first.
Example:
System A has an ip address of 192.168.10.10 and setup for Receive.
System B has an ip address of 192.168.10.11 and setup for Send.
Run NTttcp on System A:
NTttcp -R -m 4,0,192.168.10.11 -t 60
Note: the ip address is the expected sender’s ip.
Run NTttcp on System A:
NTttcp -R -m 4,0,192.168.10.10 -t 60
Note: the ip address is the receiver’s ip.
Monitor it with Windows Task Manager, Networking tab.
More options:
NTttcp: [-s|-r|-l|-n|-p|-a|-x|-rb|-sb|-i|-f|-u|-w|-d|-t|-cd|-wu|-nic] -m <mapping> [mapping]
-s work as a sender
-r work as a receiver
-l <Length of buffer> [default TCP: 64K, UDP: 128]
-n <Number of buffers> [default: 20K]
-p <port base> [default: 5001]
-sp synchronize data ports, if used -p should be same on every instance
-a <outstanding I/O> [default: 2]
-x <PacketArray size> [default: 1]
-rb <Receive buffer size> [default: 64K]
-sb <Send buffer size>[default: 8K]
-u UDP send/recv
-w WSARecv/WSASend
-d Verify Flag
-t <Runtime> in seconds.
-cd <Cool-down> in seconds
-wu <Warm-up> in seconds
-nic <NIC IP> Use NIC with for sending data (sender only).
-m <mapping> [mapping]
where a mapping is a session(s),processor,StartReceiver IP set
e.g. -m 4,0,1.2.3.4 sets up:
4 sessions on processor 0 to test a network on 1.2.3.4
Categories: MS Windows Tags:
MS iSCSI Software Target
Microsoft iSCSI Software Target 3.3 Configuration
This procedure is for Windows Server 2008 R2:
The Microsoft iSCSI Software Target 3.3 can only be installed on Windows Server 2008 R2 or latest Windows Server. It can not be install on previous Windows Servers like the initial release of Windows Server 2008.
Download the file iSCSITargetDLC.exe from Microsoft:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=45105d7f-8c6c-4666-a305-c8189062a0d0
1. Install Microsoft iSCSI Software Target.
2. Configure Windows Firewall inbound filter rule.
3. Start Microsoft iSCSI Software Target:
Start -> All Program -> Administrator Tools -> Microsoft iSCSI Software Target
4. Create iSCSI Target:
- On the left panel under Microsoft iSCSI Software Target, Right Click on iSCSI Target and select “Create iSCSI target“.
- Follow the Wizzard, give the target a name and description.
- Next screen “Create initiator identifier“, enter the initiator IQN.
Or from the drop down menu, select IP address and enter the initiators ip address.
5. Create a Virtual Disk:
Note: Virtual Disk can not be created from a raw drive, disk have to be formatted.
- Right click the iSCSI target created on step 4 and select “Create a Virtual Disk for iSCSI Target”
- Follow the wizzard, Create a virtual disk by entering its path and name (example: D:\LUN0.vhd).
To make a 5GB RAMDisk LUN, enter RAMDISK:5120.vhd for the path.
- Enter its size in MB
- Virtual disk description
- Finish
6.From the Initiator Server, start the iSCSI Initiator:
Control Panel – > iSCSI Initiator
- On the Targets Tab, enter the ip address of the Target Server and click Quick Connect.
Categories: iSCSI, Windows Server Tags:
Windows Firewall Inbound Rule Config
Adding an inbound filter rule for an application on a Windows Server 2008 R2:
1. In Server Manager, expand Configuration, expand Windows Firewall with Advanced Security, and then click Inbound Rules.
2. In the Actions pane, click New Rule.
3. Under “What type of rule would you like to create?“, click Program, and then click Next.
4. Select Browse. Browse and select an application (example: c:\Windows\System32\Wintarget.exe), and then click Next.
5. Click Allow the connection, and then click Next.
6. Select the network locations that should be bound to this rule (the default is Domain, Private, and Public). Click Next.
7. Under Name, type a descriptive name for the rule. For example, type Microsoft iSCSI Software Target Service for the program rule for Wintarget.exe. Click Finish.
Categories: Windows Server Tags: