Another upload/download speed issue
-
@the_duke Speedier init’s are located at:
http://mastacontrola.com/init_1.2.0_speed.xz
http://mastacontrola.com/init_32_1.2.0_speed.xzTo download to your fog server you should run as root:
If on redhat or /var/www/html exists on your installation and fog is located at /var/www/html/fog
wget http://mastacontrola.com/init_1.2.0_speed.xz -O /var/www/html/fog/service/ipxe/init.xz wget http://mastacontrola.com/init_32_1.2.0_speed.xz -O /var/www/html/fog/service/init_32.xz
If on ubuntu and/or /var/www/fog is the location:
wget http://mastacontrola.com/init_1.2.0_speed.xz -O /var/www/fog/service/ipxe/init.xz wget http://mastacontrola.com/init_32_1.2.0_speed.xz -O /var/www/fog/service/init_32.xz
-
@the_duke Consider yourself lucky.
-
@Tom-Elliott Ok, I just ran this and now trying to see how it goes.
-
@Tom-Elliott Ok, I tried it once and it was still downloading at about 457 MB/min. I then tried to re-upload an image for it and then push it out. I was uploading at about 1.65 GB/min. While it is a little better this time around, I’m still only downloading at about 1.4 GB/min. I had a couple of other computers with a different image download at over 5 GB/min since I made this change. These computers that are going slower are custom built computers that were built 2.5 years ago and have much better hardware than what is on the rest of my systems as they are either refurbished units or 5yr old laptops.
-
@the_duke Sounds like it could be your network, or maybe a hardware issue on the fog server. Like a dying HDD or maybe a bad stick of ram, or maybe the RAM just needs reseated.
If you have a 1Gbps unmanaged switch you could hook your FOG server to, and then hook one target computer to that switch, and try to image through that, you will be able to eliminate your network as a variable and see if things improve or not.
-
@Wayne-Workman I can try that, but it doesn’t make sense to me as to why on a different computer with a different image being downloaded to it that it will be a lot faster. In my mind it would seem that if it was my network or a hardware issue on the fog server, it would be this slow with all of my images, not just this one.
-
@the_duke Could be just a bad port, a bad few ports, a bad switch… a number of things that I’m not even thinking of right now.
Troubleshooting is about eliminating variables.
-
@Wayne-Workman @Tom-Elliott Ok, I’ve got 2 different custom built computers with a separate image for each model. Both of those computers are having the same slow speeds. On every other one I’ve tried so far, I’m getting between 4-5 GB/min download speed. I’ve even tried using the same port for each computer and same results. Is there something in the kernel or possibly the boot file that could be doing this? All of my switches in my system are brocade icx6430s. These are enterprise grade switches so if something was going bad on one, I’d know. I know it’s not a coincidence that everywhere I have one of these 2 custom built computers its slower on the download side.
-
@the_duke said:
On every other one I’ve tried so far, I’m getting between 4-5 GB/min download speed.
Can you elaborate on that?
Is this with different computers, or the same computer? Different models or the same model?
-
@Wayne-Workman A different computer with an image for that particular model. I don’t have a master image, just an image for all the different computers that I have.
-
@the_duke Ok so for these tests, you’re using the same model and same image, but different machines, right? Just want to make sure I’m reading it right.
-
@Wayne-Workman no…I first reimaged one of my custom built computers with its own image and it ran about 500 MB/min. I then tried one of our refurbished units with its own image, using the same network port and had an average download speeds of 4 GB/min.
Hope that clarifies it a lot
-
@the_duke Are the two images you tested with the same image? Are the two computers the same model?
I’m not trying to be dense, believe me.
-
@Wayne-Workman no, different computers, different images.
-
@the_duke Ok. The model that has higher transfer speeds, are those higher speeds consistent with this model no matter where it is on your network?
And, the model that has the slower speeds, are those slower speeds consistent with this model no matter where it is on your network?
-
@Wayne-Workman correct
-
@the_duke Alright then. My suggestion is to change the FOG_PIGZ_COMP to 6, and then download each of your images, and then re-upload, without ever letting the image boot. meaning, as soon as it’s done downloading and reboots - just turn off that computer, and then setup an upload task and re-upload.
I think the compression settings may be your problem. Even if they aren’t, this change will dramatically speed up both uploads and downloads.
If we don’t see a dramatic transfer rate increase after this, I’m going to say we need to work on better supporting the NIC chipset that the troublesome model has.
-
@Wayne-Workman I will try this…I do have one issue with that sequence though, I run deepfreeze on my windows systems and it needs a reboot in order for it to work properly. If I don’t do that part right, I get an error when it is setting up windows. I’ll try it though to see what it does.
-
@the_duke Do whatever you need to do to make a proper image.
The way I suggested is the fastest way and assumes no changes to the image contents are necessary.
-