Chelsio Communications Chelsio T4 Uživatelská příručka Strana 212

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 211
XVI. Traffic Management
Copyright ©2013.Chelsio Communications. All Rights Reserved. Page 212
2. Create a new policy file (say new_policy_file) and add the following line to associate
connections with the given scheduling class.
E.g.:
src host 102.1.1.1 => offload class 0
The above example will associate all connections originating from IP address 102.1.1.1 with
scheduling class 0
3. Compile the policy file using COP
[root@host]# cop -d o <output_policy_file> <new_policy_file>
4. Apply the COP policy:
[root@host]# cxgbtool ethX policy <output_policy_file>
Where,
ethX: Chelsio interface
Modifying the application
The application can also be modified in order to associate connections to scheduling classes.
Follow the steps mentioned below:
1. Determine the TCP socket file descriptor in the application through which data is sent.
COP supports association of connections with scheduling classes 0 and 1.
Note
For more information on additional parameters, refer cop manual by running the
man cop command.
Note
Zobrazit stránku 211
1 2 ... 207 208 209 210 211 212 213 214 215 216 217 ... 373 374

Komentáře k této Příručce

Žádné komentáře