Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 05:29 AM
Peter Smithson
 
Posts: n/a
Default Slow network problems

Hi,

Our system administrator doesn't have time to look at this so I thought
I'd have a look. I'm a developer and don't know much about networks
etc. so please bear with me.

We have a 64 bit AIX 5.2 box which can't use NFS due to time out errors.
I've found that using ftp or rcp is very very slow - ftp reports about
20kb/s. This is between the AIX machine and another UNIX machine on a
100Mb/s ethernet hub.

We've got about 10 or so UNIX machines on this hub running various
versions of UNIX. We have a 32 bit AIX 4.3 machine which works fine.

I've used SMIT to look at the ethernet card. It's set to auto
negotiation which we've had problems with on other systems. Setting it
to 100Mbs doesn't help.

I tried doing an error log but nothing appeared in it other than the
start/stop messages. While the error log was running I tried to use an
NFS drive and got the usual error -

A remote host did not respond within the timeout period.
NFS write error on host sgnfs1: 78.


Sorry if this is all a bit vague - can anyone talk me through how to
investigate this?

Thanks.

Peter
--
http://www.beluga.freeserve.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 05:29 AM
mgrd
 
Posts: n/a
Default Re: Slow network problems

Peter Smithson wrote:
> Hi,
>
> Our system administrator doesn't have time to look at this so I thought
> I'd have a look. I'm a developer and don't know much about networks
> etc. so please bear with me.
>
> We have a 64 bit AIX 5.2 box which can't use NFS due to time out errors.
> I've found that using ftp or rcp is very very slow - ftp reports about
> 20kb/s. This is between the AIX machine and another UNIX machine on a
> 100Mb/s ethernet hub.
>
> We've got about 10 or so UNIX machines on this hub running various
> versions of UNIX. We have a 32 bit AIX 4.3 machine which works fine.
>
> I've used SMIT to look at the ethernet card. It's set to auto
> negotiation which we've had problems with on other systems. Setting it
> to 100Mbs doesn't help.
>
> I tried doing an error log but nothing appeared in it other than the
> start/stop messages. While the error log was running I tried to use an
> NFS drive and got the usual error -
>
> A remote host did not respond within the timeout period.
> NFS write error on host sgnfs1: 78.


you way check in /etc/filesystems , if (on of) the mount options of this
mount point in questions is set to `soft'

if so could try to set it to `hard'

Once it helped me.
See `man mount' for details.

--
reply to usenet only - email account disabled
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 05:29 AM
mgrd
 
Posts: n/a
Default Re: Slow network problems

Peter Smithson wrote:
> Hi,
>
> Our system administrator doesn't have time to look at this so I thought
> I'd have a look. I'm a developer and don't know much about networks
> etc. so please bear with me.
>
> We have a 64 bit AIX 5.2 box which can't use NFS due to time out errors.
> I've found that using ftp or rcp is very very slow - ftp reports about
> 20kb/s. This is between the AIX machine and another UNIX machine on a
> 100Mb/s ethernet hub.
>
> We've got about 10 or so UNIX machines on this hub running various
> versions of UNIX. We have a 32 bit AIX 4.3 machine which works fine.
>
> I've used SMIT to look at the ethernet card. It's set to auto
> negotiation which we've had problems with on other systems. Setting it
> to 100Mbs doesn't help.
>
> I tried doing an error log but nothing appeared in it other than the
> start/stop messages. While the error log was running I tried to use an
> NFS drive and got the usual error -
>
> A remote host did not respond within the timeout period.
> NFS write error on host sgnfs1: 78.


you may check in /etc/filesystems , if (one of) the mount options of the
mount point in questions is set to `soft'

if so could try to set it to `hard'

It helped me once.

But see `man mount' for details before.

--
reply to usenet only - email account disabled
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 05:29 AM
steven_nospam at Yahoo! Canada
 
Posts: n/a
Default Re: Slow network problems

I'm not a networking wiz, but in our office the usual cause for slow
network response is exactly what you hit on in your message. When we
have had our Ethernet cards set to auto-negotiation, the card looks at
the network and seems to take the speed of the slowest network card,
usually an old router or hub somewhere. It often ends up being set to
10mbs Half-Duplex.

Try changing the card to 10_full_duplex or 100_full duplex.

smit devices
- Communications
- Ethernet
- Adapter
- Change/Show
Choose your adapter (ent0?)
Verify field called "Media Speed"

You may need to restart the network daemons (inetd, portmap, etc) to
get it to start using the new settings. Keep in mind that sometimes
changing these settings will stop your network connections from working.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 05:30 AM
Alvin Liau
 
Posts: n/a
Default Re: Slow network problems

"Peter Smithson" <pgsmithson_deletethisbit@yahoo.co.uk> wrote in message
news:MPG.1c45e5f94c90da67989820@News.Individual.NE T...
> Hi,
>
> Our system administrator doesn't have time to look at this so I thought
> I'd have a look. I'm a developer and don't know much about networks
> etc. so please bear with me.
>
> We have a 64 bit AIX 5.2 box which can't use NFS due to time out errors.
> I've found that using ftp or rcp is very very slow - ftp reports about
> 20kb/s. This is between the AIX machine and another UNIX machine on a
> 100Mb/s ethernet hub.
>
> We've got about 10 or so UNIX machines on this hub running various
> versions of UNIX. We have a 32 bit AIX 4.3 machine which works fine.
>
> I've used SMIT to look at the ethernet card. It's set to auto
> negotiation which we've had problems with on other systems. Setting it
> to 100Mbs doesn't help.
>
> I tried doing an error log but nothing appeared in it other than the
> start/stop messages. While the error log was running I tried to use an
> NFS drive and got the usual error -
>
> A remote host did not respond within the timeout period.
> NFS write error on host sgnfs1: 78.
>
>
> Sorry if this is all a bit vague - can anyone talk me through how to
> investigate this?
>
> Thanks.
>
> Peter
> --

Peter,
1. Try 'hard-setting' all your NICs instead of auto-negotiating.
2. If you're still using an ethernet hub, replace with an ethernet switch.

alvin


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 05:30 AM
Dan Foster
 
Posts: n/a
Default Re: Slow network problems

In article <1104929934.374004.56710@z14g2000cwz.googlegroups. com>, steven_nospam at Yahoo! Canada <steven_nospam@yahoo.ca> wrote:
> I'm not a networking wiz, but in our office the usual cause for slow
> network response is exactly what you hit on in your message. When we
> have had our Ethernet cards set to auto-negotiation, the card looks at
> the network and seems to take the speed of the slowest network card,
> usually an old router or hub somewhere. It often ends up being set to
> 10mbs Half-Duplex.
>
> Try changing the card to 10_full_duplex or 100_full duplex.


He said he was on an hub (and if it's really a hub, and not a switch),
which means 100/half duplex.

-Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 05:30 AM
Andreas Schulze
 
Posts: n/a
Default Re: Slow network problems

"Peter Smithson" <pgsmithson_deletethisbit@yahoo.co.uk> schrieb im
Newsbeitrag news:MPG.1c45e5f94c90da67989820@News.Individual.NE T...
> Hi,
>
> Our system administrator doesn't have time to look at this so I thought
> I'd have a look. I'm a developer and don't know much about networks
> etc. so please bear with me.
>
> We have a 64 bit AIX 5.2 box which can't use NFS due to time out errors.
> I've found that using ftp or rcp is very very slow - ftp reports about
> 20kb/s. This is between the AIX machine and another UNIX machine on a
> 100Mb/s ethernet hub.
>
> We've got about 10 or so UNIX machines on this hub running various
> versions of UNIX. We have a 32 bit AIX 4.3 machine which works fine.
>
> I've used SMIT to look at the ethernet card. It's set to auto
> negotiation which we've had problems with on other systems. Setting it
> to 100Mbs doesn't help.
>
> I tried doing an error log but nothing appeared in it other than the
> start/stop messages. While the error log was running I tried to use an
> NFS drive and got the usual error -
>
> A remote host did not respond within the timeout period.
> NFS write error on host sgnfs1: 78.
>
>
> Sorry if this is all a bit vague - can anyone talk me through how to
> investigate this?
>
> Thanks.
>
> Peter
> --


Hallo Peter,

You could use
# entstat -d ent0
to see (among other usefull stuff) collision statistics and media speed
running. Make sure that there are enough nfs daemons running on the nfs
server. And (as the other posters suggested) if you can avoid the auto
negotiation as AIX was never good with that (and still is not).

HTH,
Andreas


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 05:30 AM
Peter Smithson
 
Posts: n/a
Default Re: Slow network problems

In article <crgrno$k2h$1@tgx093.str.allianz.de>, b79xan@gmx.de says...

>
> You could use
> # entstat -d ent0
> to see (among other usefull stuff) collision statistics and media speed
> running. Make sure that there are enough nfs daemons running on the nfs
> server. And (as the other posters suggested) if you can avoid the auto
> negotiation as AIX was never good with that (and still is not).


I'm not too worried about NFS specific problems as I think NFS isn't
working due to a general network problem - otherwise ftp & rcp would be
OK.

I've used that command you gave and I think it's telling me something -

------------------------------------------------------------------
Elapsed Time: 1 days 1 hours 13 minutes 57 seconds

Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 152693 Packets: 327703
Bytes: 55840399 Bytes: 115845744
Interrupts: 488 Interrupts: 324792
Transmit Errors: 1856 Receive Errors: 0
Packets Dropped: 1 Packets Dropped: 0
Bad Packets: 0
Max Packets on S/W Transmit Queue: 86
------------------------------------------------------------------

There are quite a lot of Transmit errors for 1 day's usage (no recieve
errors). I've noticed that NFS works fine as long as I'm only reading
from the NFS drive.

The same command on our AIX 4 box shows -

------------------------------------------------------------------
Elapsed Time: 0 days 7 hours 34 minutes 5 seconds

Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 83505 Packets: 125555
Bytes: 40863328 Bytes: 43194960
Interrupts: 83501 Interrupts: 125266
Transmit Errors: 0 Receive Errors: 160
Packets Dropped: 0 Packets Dropped: 0
Bad Packets: 0
Max Packets on S/W Transmit Queue: 9
------------------------------------------------------------------

No trasmit errors there at all.

I think the auto negotiate is OK -

Media Speed Running: 100 Mbps Half Duplex

Someone asked if it was really a "hub". I've spoken to our sysadmin and
he says our UNIX network is on it's own "segment" - there is no hub or
switch. But then he said that you could say they all use a 10/100
switch - not sure what all that means. I guess it means they're on a
switch. There is a bridge to our Windows network.

Another difference between this and the AIX 4 is that in the "Driver
flags" section the AIX 5 box (the one with the problem) has
"PrivateSegment DataRateSet". This could just be a new feature of the
OS - there was quite a lot more output on the AIX 5 machine.

Thanks for all the replies.

Peter

--
http://www.beluga.freeserve.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 05:30 AM
Bernardo Cabral
 
Posts: n/a
Default Re: Slow network problems

Peter Smithson wrote:
> In article <crgrno$k2h$1@tgx093.str.allianz.de>, b79xan@gmx.de says...
>
>
>>You could use
>># entstat -d ent0
>>to see (among other usefull stuff) collision statistics and media speed
>>running. Make sure that there are enough nfs daemons running on the nfs
>>server. And (as the other posters suggested) if you can avoid the auto
>>negotiation as AIX was never good with that (and still is not).

>
>
> I'm not too worried about NFS specific problems as I think NFS isn't
> working due to a general network problem - otherwise ftp & rcp would be
> OK.
>
> I've used that command you gave and I think it's telling me something -
>
> ------------------------------------------------------------------
> Elapsed Time: 1 days 1 hours 13 minutes 57 seconds
>
> Transmit Statistics: Receive Statistics:
> -------------------- -------------------
> Packets: 152693 Packets: 327703
> Bytes: 55840399 Bytes: 115845744
> Interrupts: 488 Interrupts: 324792
> Transmit Errors: 1856 Receive Errors: 0
> Packets Dropped: 1 Packets Dropped: 0
> Bad Packets: 0
> Max Packets on S/W Transmit Queue: 86
> ------------------------------------------------------------------
>
> There are quite a lot of Transmit errors for 1 day's usage (no recieve
> errors). I've noticed that NFS works fine as long as I'm only reading
> from the NFS drive.
>
> The same command on our AIX 4 box shows -
>
> ------------------------------------------------------------------
> Elapsed Time: 0 days 7 hours 34 minutes 5 seconds
>
> Transmit Statistics: Receive Statistics:
> -------------------- -------------------
> Packets: 83505 Packets: 125555
> Bytes: 40863328 Bytes: 43194960
> Interrupts: 83501 Interrupts: 125266
> Transmit Errors: 0 Receive Errors: 160
> Packets Dropped: 0 Packets Dropped: 0
> Bad Packets: 0
> Max Packets on S/W Transmit Queue: 9
> ------------------------------------------------------------------
>
> No trasmit errors there at all.
>
> I think the auto negotiate is OK -
>
> Media Speed Running: 100 Mbps Half Duplex



IF you have the switch in either auto or full duplex normally the
adapter will negociate to half. So, if you want to avoid problems, set
BOTH the adapter and the switch to 100/Full Duplex. Also, check the CAT
of the cable. It must be at least 5.

--
BC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-05-2008, 05:31 AM
Jose Pina Coelho
 
Posts: n/a
Default Re: Slow network problems

Peter Smithson <pgsmithson_deletethisbit@yahoo.co.uk> wrote in
news:MPG.1c463d4138425ee4989821@News.Individual.NE T:
> [...]
> Transmit Statistics: Receive Statistics:
> -------------------- -------------------
> Packets: 83505 Packets: 125555
> Bytes: 40863328 Bytes: 43194960
> Interrupts: 83501 Interrupts: 125266
> Transmit Errors: 0 Receive Errors: 160

160/125555 is less than 0.1%, not really serious, but still too high. If
the cabling is correct and the network equipment wasn't bough on Toys'R
US, then you should see zero to two receive errors for about a billion
(american) received packets.


> Packets Dropped: 0 Packets Dropped: 0
> Bad Packets: 0
> Max Packets on S/W Transmit Queue: 9
> ------------------------------------------------------------------
>
> No trasmit errors there at all.
>
> I think the auto negotiate is OK -
>
> Media Speed Running: 100 Mbps Half Duplex
>
> Someone asked if it was really a "hub". I've spoken to our sysadmin and
> he says our UNIX network is on it's own "segment" - there is no hub or
> switch. But then he said that you could say they all use a 10/100
> switch - not sure what all that means.

If he said *that*, it means he's a clueless fuck. If it's ethernet it's
either: a hub, a switch, or a direct cable between two machines. Are you
*sure* he said *that* ?

A segment doesn't exist out of thin air. It has a physical reality that
is one of the three previous things.

> I guess it means they're on a switch.

Just ask him again.

> There is a bridge to our Windows network.

That's cruel. Windows should be segregated behind a router.

> Another difference between this and the AIX 4 is that in the "Driver
> flags" section the AIX 5 box (the one with the problem) has
> "PrivateSegment DataRateSet". This could just be a new feature of the
> OS - there was quite a lot more output on the AIX 5 machine.

Just ignore it. Check to see if you have CRC errors or large numbers of
collisions.

CRC errors and incomplete packets are quite common when you force the
card to 100 Full and the other end is a hub (or a switch forced to 100
Half).

Large numbers of collisions are quite common when you force the card to
100 Half and the other end is a switch forced to 100 Full.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557