How to get the machine Address when a miss in Emulated TLB happens? - virtualization

I am learning Virtualization and would like to know if anyone can explain in detail on how to get machine address once an emulated TLB miss occurs in x86. Also, how many memory access will happen in order to get the Machine address?
All the google search results gives very basic info. Please advice. Thanks.

Related

DNS Server Not Responding?

In Microsoft-Edge
Details
The DNS name does not exist.
Error Code: INET_E_RESOURCE_NOT_FOUND
microsoft-edge error described by pitcture
Windows network diagnosis
DNS Server Not Responding
Some Description
My Network links used to work well for a long time, now I don't know why suddenly there is something wrong.
Some strange things is :
When I use the campus network connecting through data cable, there are no such
problem.
But when I use WiFi to connect Unicom network, these problems happened.
However, I also can use part software such as Wechat and I can use Google explorer by VPN (Web page plug-in)("Because I am Chinese, I must use VPN to visit foreign website")
My computer System is Win10(64),Can you give me some ideas to solve the problem? Thank you in advances... By the way, I had this problem before, but it was solved automatically after a few days, I don't know how!
It is amazing! The DNS Server Not Responding question is solved when I restart the computer, but I don't know why? I should restart computer every time when I meet with the problem? What else method can I do to solve it?

Does the creation of virtual machines on a single piece of hardware improve scalability?

Please excuse my ignorance. I don't know anything and am just trying to learn.
I've been thinking and it appears to me that spinning off more virtual machines on a single computer so you can run separate services on each VM instance only creates isolation between those services so that if one VM instance were crash, it wouldn't affect the others.
If the same service were installed on each of the VM's, then it also provides for availability.
But it does not help the scalability of your services because each VM on the same hardware must share the same limited hardware resources such as disk, memory, CPU, and network interface cards.
Am I thinking right? Sorry if this isn't the right forum to ask this sort of a question. If someplace else is more appropriate, please feel free to move it there.
Virtualization is a thing of the post. Now it's all about containerization. I would suggest you to look into Docker and specifically docker-compose
Try visiting https://www.docker.com, and also https://docs.docker.com/compose/gettingstarted/
Hope It helps.
Virtual Machines have the advantage that you can adjust the parameters of usage. You can change virtual hardware, memory, disk-space and CPU-usage.
This makes the VM scalable related to the needs.
And if the Host-Machine is getting to weak to serve the requirements you can move the VM on another Host-Machine.
If you want to run a server with maximum available resources it's better to do it without VM but with the best hardware you can get / pay because the VM adds an additional level to computing and is using resources too.

Virtualized Resources Dynamic Zoning

I have a question regarding the dynamic zoning for resources assigned to Virtual machines, is there anyway to dynamically control the resources assigned for Virtual machines whatever is the hypervisor, I want to know what things needed to be considered if I am having different load time during the day so the VM should response to this variation at same time, if the customer asks for doubling the assigned resources for his/her VM there should something guarantees that the bandwidth or whatever the assigned resources will be doubled according to the request.
Can anybody explain to me which hypervisor implement this as my knowledge this is isn't possible in the current Opensource hypervisors xen, kvm, vbox,... etc, as I never worked with any commercial hypervisor before?
Thanks in advance
did you check about cgroups? I am not sure about guarantee, but they can help you to expand resources whenever you need them through resource controllers.

Looking for a Wi-Fi microcontroller to use with a robot

I want to make a Wi-Fi controlled robot.
After a lot of research, I decided to use an Asynclab's BlackWidow which was the best way for me to do this.
But unfortunately, this product is out of stock everywhere!
I ordered one on roboshop and I got the message 25 days later: Sorry, this product is sold out.
So, I'm looking for another microcontroller with a Wi-Fi interface.
I also need this very quickly (because it is for a school project), and it must be as cheap as possible.
I've been looking all the day but I couldn't find something as "good" as the BlackWidow.
You can get the WiFly shield from sparkfun.
In the past I have used a Linux router (with positive results) with Gargoyle (OpenWrt based) as a wireless gateway and communicate with it through a serial port, as most of them attach a console to the serial port so that you just have to send the command and '\n' to be executed. With the cURL libraries should be fairly easy to communicate without much effort with whatever you want.
You have the power of Linux and a pretty powerful CPU, can configure it through the command line or web page, and most important, a lot of routers are much cheaper than the 'BlackWidow'.
The one I used is the Fonera+ (unmounted doesn't take much more space than an Ethernet Shield) and used to cost around $28 although it is now deprecated, but some other routers from Linksys, TP-Link, etc. are also compatible as stated in the OpenWrt Compatibility Table.

Is there a way to discover what different types of switches am I connected to?

I wanted to know if we could find out what type of switch our machine is directly connected to ..
For instance if I am connected to a Cisco,Brocade,foundry and Force10 switch .
Is it possible to write a perl script to find out the management address of the switch [without logging in]
Is it possible to write a perl script to find out the switch vendor and model number ...
Thanks for your suggestions.
EDIT: Wanted to add that I am directly connected to the switch .. I can disable the firewall on my machine ...
nmap is what you want. If that doesn't do it, the answer is probably "no". If you need the IP address of the switch, run traceroute/tracert to see what the next hop is.
There is no guaranteed way of being able to achieve this. It depends very much on how your switch has been configured and how open your network admins have made it.
If everything is completely open then the best way of finding out the type of switch is to use snmp. The net-snmp library for perl (see docs here) is a good place to start.
But that assumes that the management interface is exposed to your box.
There is no guarantee that it will be.
If it is then nmap (as suggested by others) may work. At least it might tell you if the management interface is accessible at which point you can use snmp to tell you the rest.
Traceroute might yield some more information, but only if the address used for it's routing is the same as the management address. (and assuming that your "switch" is really a "router". If not then this won't yield any useful information.)
ping might yield some information about the manufacturer, but only if it hasn't been configured to proxy-arp.
On Cisco switchs if CDP is activated you should be able to see CDP traffic on your wire which will indicate switch model, name and switch port you are connected to.
Don't know for other brands.
Not really. In the modern world of firewalled, packet-modifying, NATed subnetworks, you really can't do anything reliably to inspect a network from a client machine.
That said, trying nmap on your router might tell you something interesting. Or it might not. The results are entirely up to the admins of your network.
follow the wire
You can ping it to get its Ethernet address, and then look it up in one of the vendor code lists.