Avatar of psimation
psimationFlag for South Africa

asked on 

Slow network speed on Centos5 running in VMWare 6 with bridged networking

Hi

I'm not sure why this is happening - but my CentOS5 VMWare machine with bridged networking has VERY slow networking performance when trying to access via FTP/Samba

I have a static IP LAN setup, where all my lan PC's are on the 192.168.0.x / 255.255.255.0 network and using 192.168.0.110 as gateway ( that machine is an endian firewall box that manages my 4mb ADSL connection and also acts as primary DNS server).

The VMWare box was created on a 3Ghz E8650 dual core with 4GB RAM -of which 1 GB is dedicated to the CentOS5 VM, and 40GB hdd pre-allocated to VM.

The VM networking is configured "correctly" since I am able to access internet and other IP's from this VM, but at very slow speeds. It's as if the connection is routed "outside" my LAN, over the ADSL and then back in via ADSL and not directly over the CAT5...

The VM is installed on a Vista Business host - is there something on Vista that could be causing this "choke"?
Linux

Avatar of undefined
Last Comment
psimation
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

do you have any firewal or antiviurs running on vista mechine ??

try to disable everything
Avatar of psimation
psimation
Flag of South Africa image

ASKER

Hi

All firewalls and anti-virus are already disabled.
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

you said, you have "that machine is an endian firewall box that manages my 4mb ADSL connection and also acts as primary DNS server)."

when you try to access the linux host via Ip , does it slow aswell ??

or its just file copy is slow ??

if i tell you to ssh to that box via host name , does it slow to connect ??
Avatar of psimation
psimation
Flag of South Africa image

ASKER

SSH *seems* fine, but because there's only basically text being sent and received, it's difficult to guage speed - also, ALL my other PC's on the lan are configured in exactly the same way, and none of them suffer the slowdown - I even have a WinXP VM machine running alongside the CentOS5 one that works perfectly (on another IP of course) - switching the XP Vm off doesn' have any effect on the speed of the CenOS Vm tho...

If I try to FTP to the CentOS box directly via IP, I also get very slow connection in both upload and download - so I don't think it's DNS related...
Avatar of psimation
psimation
Flag of South Africa image

ASKER

PS, CentOS machine has firewall and SELinux off.
ASKER CERTIFIED SOLUTION
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of amrox
amrox

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of psimation
psimation
Flag of South Africa image

ASKER

OK, traceroute on Cnetos Vm = 15 hops, tracert on Vista = 15 hops to www.google.com and both are relatively close ( the Host being slightly faster on all hops)

 No dropped packets when pinging.
/etc/sysconfig/network-scripts/ifcfg-eth0

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BROADCAST=192.168.0.255
HWADDR=00:0c:29:97:35:22
IPADDR=192.168.0.240
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
GATEWAY=192.168.0.110
TYPE=Ethernet

nothing weird in messages or logs, top shows near 0 resource and mem usage.

watch also shows near 0 traffic...
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

which version vmware have you installed ?

Avatar of psimation
psimation
Flag of South Africa image

ASKER

6.0.2 build 59824

This version has worked for me in the past with no issues - I'm starting to think it's something on CentOS that I missed when configuring the box...
Avatar of amrox
amrox

>>watch also shows near 0 traffic...
Are you sure?
It should have close to the same amount of traffic as Vista while you are running the tests.  For a ping, you'd be getting 64bytes/sec so 480K/min, if I've done my maths correctly.  A webpage will get you up to a meg extra

How about a bandwidth test - http://www.bandwidthplace.com/  run a free test, on virtual and physical and compare the results.
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

ok you said ftp and samba is slow
thats why i said, to download wincp

and then connect to the linux and try to transfer some file between linux and box

if this wincp works that mean you have problem with ftp and samba

but you didnot conferm me yet
Avatar of psimation
psimation
Flag of South Africa image

ASKER

Yes, 480Kib is the reading - I meant 0 EXTRA traffic  - since I was under the impression that you were attributing slow network performance to some other rogue traffic eating up capacity...

Internet bandwidth is not a problem on the CentOS VM box - if I ftp from the VM box to a public FTp, I get close to my 4mb ADSL speed limit, my problem is when I try to do fiel transfers between PC's on my LAN, then it seems that speeds are still in the same region as what I get internet wise - and I'm expecting MUCH faster local LAN speeds - all my NIC's, cables and switches are Gigabit capable.
Avatar of psimation
psimation
Flag of South Africa image

ASKER

winscp gives me the same slow speed
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

have a look at this one
http://communities.vmware.com/thread/103787
do you have 64 bit or 32 bit system ??

Avatar of psimation
psimation
Flag of South Africa image

ASKER

32 bit, and the disk I/O is definitely not the bottleneck.
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

ok what service is running on the linux box ??  and also you said, you already disable all the firewall on this linux box still is same problem right ??

Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

is there any way to enable and disable bridge network ??

i am not sure but some where i saw that due to duplixing problem sometime  network performance gets slow hence file copy and other
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

any luck for your problem ??
Avatar of psimation
psimation
Flag of South Africa image

ASKER

Nope - have tried setting Vm guest to single CPU - but nothing seems to be working...
Avatar of psimation
psimation
Flag of South Africa image

ASKER

Guys, I'm still nowhere closer to fixing this - I'm going to accept your comments nonetheless, since some of the comments may help others - unfortunately, it didn't help for me...
Linux
Linux

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo