Is there a bottleneck?
I have two test computers connected to the network.
One has gigabit Ethernet, the other has 10 megabits.
In theory, the data transferred between them should reach about 1 megabyte p / s.
I am now using a PHP script to read data from one host to another using fread. Both the read file and the read file are chmod 777.
Both computers are running a wampserver, and both have zonealarm and avast installed and running. Zonealarm is configured to recognize both computers as trusted parts of the network.
Using the time () function to determine the time it takes for a script to read to read a file on another computer. The file im reading is 10 megs. It only takes 10 seconds. But it takes about 30 seconds. Average 300 kb.
So where is the bottleneck in my setup?
One computer is Vista, the other is XP, if that matters.
Just because your network speed is 10 Mbps doesn't mean the application layer is getting it. There is TCP / IP header information (~ 64 bytes per 1500 byte packet), the time it takes to process buffers in the kernel, the time it takes to transfer the buffer to / from the LAN controller chip, etc.
I guess when you said you were getting 300kbps you really mean 3mbs, right?
a source to share
Open the task manager (ctrl + alt + delete, task manager), then switch to the second tab (or third?) And see how the CPU and network will be used when running the test. If the CPU usage is 100%, this could be a bottleneck. Also check your network usage to see if there are any overheads you might not expect.
What would I start.
a source to share