Capture speed very fast, deploy starts at nearly 7mb/min and at 10% starts slowing down gradually to 3mb/min!! please help?
-
@Kevin-Talbot Maybe it is just the disk (client or server) having an issue. Have you tried different clients yet?
-
I’ve seen this several times. When the write rate starts to slowly drop down to nothingness, that means that the transfer has actually stopped. It stopped the moment the speeds started gradually declining. The displayed write speed is just an average, not actual.
-
@sebastian-roth The node server and client machine both have brand new SSD drives taken out of their packets today!
-
@wayne-workman The old rig could deploy an image at a constant 5gb/min and that was an optiplex 360 with 2gb ram and a 1tb mechanical 7200 hard drive running ubuntu desktop 12 and fog1.2
I think this all started when I started upgrading ubuntu and fog on the above old hardware to ubuntu 14 and fog 1.4.4
I thought the 1tb hard drive had a bad block so thought I would start fresh, however the new rig I build today which is the latest ubuntu server 16.04.3 and fog 1.4.4 with all updates on much newer/faster hardware is deploying much much slower!
I think this is a fog issue but can’t pin point it yet! I have seen mention of replacing the init image with a previous versions init file???
-
It’s the same issue as this: http://www.edugeek.net/forums/o-s-deployment/103004-tasks-slowing-down.html
But I don’t know much about the init file?
-
@kevin-talbot Basic troubleshooting dictates that we first check if this problem affects other images. Do you have other images you can try to deploy to see if you get the same problem?
-
@Kevin-Talbot I feel this will be an interesting one to figure out as it could really be anything in the chain I reckon. From the description so far it’s not possible to pin it down yet.
The node server and client machine both have brand new SSD drives taken out of their packets today!
Well just got a bad new one there, you never know. I am not saying this is it. But as we don’t have an idea yet we need to try it all out.
Now have VM running Ubuntu server 16.04.3 and fog 1.4.4
Maybe there is an issue with the VM, what kind of virtualization technology do you use?
I’d start by taking a look at the network traffic to see if it actually slows down (because of lost packets or what) or if the connection breaks altogether. By the way, is this multicast or unicast? Tried both yet? Have
tcpdump
installed. While the job is running issuetcdpump -w /tmp/speed.pcap host x.x.x.x
(put in the client’s IP address to filter out just that traffic). Leave that sitting for a 10 seconds and stop using Ctrl+c. Now check the size of this filels -alh /tmp/speed.pcap
and if it’s less than 1 MB you can easily capture again (overwrite the same file or rename to have a second one) for one or two minutes. If the first capture is bigger than 1 MB just stop there for now. In any case please upload those captures to your dropbox/googledrive and post a link here so we can have a look.Other things you could test:
- Try different client machines.
- Try multicast vs. unicast.
- Try mounting the NFS share and copying the image by hand (in case this is only happening in unicast) using
rsync -a --progress <src> <dst>
to get an idea of transfer speed. - Run memtest on client and server just to make sure.
- Setup things on an isolated network switch or even just using a single (cross over in the old days) network cable to connect client and server if your server is setup to hand out DHCP to the client (if not I’d set it up to be able to do this test).
- …
-
Ok everybody I think I have nailed it however I don’t know if I can do anything about it??
Turns out we changed the model of SSD we put into our oldest client machines (Dell Optiplex 380’s)
I put a brand new (out the packet) “OLD MODEL” SSD in the same client machine I’ve been testing and deployed in 4 minutes flat…compared to the new model SSD which takes 15mins!!!
Question is can I do anything about it as the new model SSD is supposedly faster than the old model SSD
Both Kingston:
Old model = SHFS37A/120G
New model = SA400S37/120GCan anyone think of anything that can be done as we have around 150 of these new model SSD’s…grrrr ???
-
@kevin-talbot What would be interesting to see is this…
Use a disk bench marking tool like CrystalDiskMark and compare the write performance between the two disks. The tool used doesn’t matter you just need to use the same tool on both systems to get a relative index between the two drives. The most important number for FOG imaging is sequential writes.
-
@kevin-talbot said in Capture speed very fast, deploy starts at nearly 7mb/min and at 10% starts slowing down gradually to 3mb/min!! please help?:
SA400S37
So far I haven’t found people talking about speed issue with those drives anywhere on the net. But looking at the specs I see that this drive uses TLC NAND flash.
To quote someone from this reddit post
There are different types of FLASH that are vastly differing in reliability. Read up on SLC, MLC and TLC. Basically the Pro series store less data in each FLASH cell. The more data you cram into each FLASH cell the less reliable the disk is.