how do you go from this to this
by simply changing one settings that's
what i'm going to show you today
let's do this
[Music]
and welcome to another episode of
talking tech with the techie guy my name
is leron segev where i make tech
simple if you're into phones gadget apps
tips and tricks on how to
hit that subscribe button and let's get
on to today's show
so you've gone grocery shopping and
you've come home and there are
loads of items all which need to be
carried inside which would you rather do
carry each item individually or stick
them into a carrier bag
well most of us will prefer fewer trips
to and from the cars so
loads of item in a carrier bag is faster
and more efficient
the only thing we need to really worry
about is overloading the bag
as things will fall out and basically we
would have to make more trips again this
is how our computers work too
but some data are sent and received and
together they make up whatever it is
we happen to be doing online most of us
get our computer
simply connected to the router and modem
open a website
internet seems to be loading so it's all
working
sure technically it's working but it's
not optimized
it's like making those separate trips to
and from the car to get each item
individually
versus using the bag so how do we make
our computers as efficient as carrying
items in a bag
well we do that by telling our computers
to pack loads of data
into a big bag and make fewer trips and
we do that
by increasing the size of the mtu the
maximum transmission
unit this is done in two steps step
number one is to find out what is the
maximum data packet our computer can
handle
as we don't want to overfill our data
packet if we do
just like the carrier bag the items are
gonna drop out in other words data's
gonna drop out
and it's gonna require more trips once
we have that we move on to step number
two which is to tell a computer
hey use this as the mtu size don't worry
both of these steps are super simple and
i'm going to show you exactly how to do
that
right let's start off with a baseline so
first i'm going to show you that my
ethernet
is currently set to 576 mtu
so based on that let's run the good old
speed test what are we gonna get
on that ping nine milliseconds that's
pretty good
the download speed is 140 150
megabits per second bear in mind i'm on
a 450 megabits per second line
and what's the upload 16.73 my upload
cap is at 20.
so clearly i'm not getting the speed
that i'm paying for
so let's begin the test to see how i can
optimize my system
all right so step number one how do you
find out what is the right
mtu size for you and your computer as
all our computers are going to be
slightly different
well we're going to do that using the
good old ping command
the thing command is basically just says
to your website hey website
are you there please reply with your ip
address so
ping google.com and google replies with
its ip address but what we're going to
do is use that command to send the
biggest ping
and either one of two things will happen
either one will get a message back from
the website saying
everything is good or we'll get a
message back saying uh
the data is fragmented which means
whoops too much data
in our bag and we'll have to try a
smaller ping until it works
let me show you how to do this okay fire
up your computer
type in cmd in the search right click on
that
and then choose run as administrator
what we're gonna do now is type
ping google.com minus f
which essentially means don't fragment
the packet size and then we're going to
say
minus l and put a byte size but that is
the maximum path size our big packet
that we're going to send through
and essentially what we're looking for
is this fragmented
in other words hundred percent loss this
is the packet
is just way too big a system is not
handling it what do we do we reduce it
by ten
one four eight two instead of one four
nine two are we still getting the error
message
yes we are reduce it by 10 again 1472.
oh look at this
now we're getting a response which means
this is the big packet size it's not
fragmented
and zero percent loss this is a winner
let's see if we can get it any bigger
and now we're gonna increase it by
increments of one
one four seven three and now we can see
all fragmented again
so now we know on this system one four
seven two
is the maximum packet size the maximum
bag carrier bag that we were speaking
about earlier
before the packet starts getting
fragmented so
what's next what we do fire up a
calculator
take one four seven two and then you
have to add
28 so whatever your number is add 28 to
that
and that's gonna give you the mtu size
that you can use
right now onto step number two now that
we have the right size of the mtu
well the next step is to tell our system
to actually use it
ideally you should set this at your
router level so that
everything on your network can use this
mtu i say ideally
as some routers don't have that facility
now if your router
doesn't have that don't worry i'm also
going to show you how to manually set
this on your computer
let's start with the router option to
set it on your router first you have to
access the rafters admin console
typically this info is listed on the
bottom of your router
and it's how you set up your router in
the first place now if you don't have
that info
here is what you can do okay let's get
you into your router so
type cmd again this time you don't have
to right click you can just open it and
type
ip config and what we're looking for is
something called
the default gateway and they'll have an
ip address
192.168.1.1
now of course yours might be slightly
different so whatever your gateway ip
address
make a note of that because we're going
to need it for the next step open your
web browser type in the ip address that
you got your default gateway and that
should take you to the router
login and what you're looking for
somewhere deep within your settings
is the ability to manually set the mtu
see how mine says auto i'm going to
switch it to manual and there we go that
1500 that we spoke about earlier
i'm going to put that in there and then
click on apply now
everything that's connected through my
router is going to get that setting
now if your router doesn't have this
feature anywhere let me show you how you
can set it on your computer
and yes you're gonna have to do this on
each computer on your network
if your router doesn't have that
settings in your windows go to the
search type
cmd right click on that command prompt
and click on
run as administrator now in the
description you'll see
this particular line and remember change
the mtu to whatever mtu size that works
on your system
and then press enter and it will give
you this little okay
you can also use this command to
actually show you that it actually
worked
so there is my ethernet and then as you
can see on the left hand side
there is 1500 which means i've just
updated the mtu
to 1500 now let's assume you don't have
ethernet or you want to update your
wi-fi as well
no problem it's the same line as before
the only thing we're going to do is
we're going to
change instead of ethernet we're going
to use the word
wi-fi and the mtu we're going gonna set
it at 1500
press enter to get the ok run that
command to see if everything has been
changed and there it is
wi-fi is now set at 1500. simple
stuff now all that remains to do is a
final speed test
to see how much difference this mtu can
make already
we can see a clear difference look at
that the download
is now sitting at 459 megabits per
second as a download
the upload is a very healthy over 20
megabits per second
there is your proof mtu does make a
difference go and optimize your
system just another tip to get you and
your wi-fi internet faster and better
if you want more videos check out these
videos down here on this topic
hit the head below to subscribe if this
is your first time here give the video a
thumbs up if you liked it and i'll see
you
in those videos let's go