Since last year, with the popularity of 5g, cloud computing has gradually entered people’s field of vision, and various big manufacturers have come to an end one after another. However, after some promotion, cloud computing has not emerged since then. In actual experience, delay, performance and security are the reasons why we reject cloud computing. However, in our actual life, we do have such a demand for computers: as convenient as a surface go, and with sufficient performance as a full-tower desktop… Can you have both? Of course, you only need to build your own cloud computer.
At the beginning of everything, we need to clarify the needs of cloud computers, replacing desktop computers with notebooks/two-in-one tablets, rather than replacing desktop computers with any personal computing device (mobile phone, tablet, computer) as most manufacturers now advertise . There is no point in manipulating a PC interface on the small screen of a mobile phone for work or entertainment… and a pure touch device such as an ipad that doesn’t even have a mouse pointer can’t play this role. In addition to these scenarios, using a portable thin and light notebook to invoke the performance and experience of a desktop computer anytime, anywhere will be the main application scenarios described next. Next, I will explain from both software and hardware aspects.
software
The first is software. The key to building a cloud computer for individuals is how to achieve low-latency streaming. At this point parsec gives us a good solution – p2p streaming. In common remote software streaming and cloud computer streaming, video data must be transferred through multiple servers. Even if the delay control is better, it is more than 50. To reduce the delay, you can only reduce the video frame rate. This is why most remote software often gives you a very laggy feeling. The p2p technology is different, it can use the full network bandwidth to achieve an excellent experience of 2k 60 frames and 20ms delay. This is very close to the actual operating experience of the desktop. And the use of parsec is also very simple:
- Visit the parsec official website and register an account.
- Download the parsec software on the host and client side.
- Log in and click connet to complete the connection.
software settings
Since parsec is developed by a foreign company, there is currently no Chinese version, so here are some non-out-of-the-box settings.
- Open the client on the notebook to set the client configuration. For example, the decoder should choose a discrete graphics card as much as possible, and h.265 should be closed, because the encoding time of 265 is longer, which will cause higher delay.
- Open the host on the desktop to set the host-side configuration. If the host-side is a mac, you need to manually open the Hosting Enabled.
- Parsec sometimes has 800, 6023 errors, this part of the error solution is placed in other parts.
hardware
To implement cloud computing, you first need a host and a client. For the client, it seems that there are not too many restrictions, as long as there is a stable network environment. The host is also relatively easy to build, mainly divided into three aspects: network, io, and storage.
Network Configuration
Since the streaming principle of parsec is based on the p2p technology, the accessibility requirements for both sides of the connection are relatively high. Multi-level NAT and large intranet broadband will cause parsec to fail to establish p2p connections normally. Generally, according to the network situation, it is recommended that the host side apply for a dynamic public network ip, which can be obtained quickly by telecom and China Unicom. (Note: The public IP is not a mandatory option. Before applying, you can try the current network environment to see if it can connect normally.) The second is to ensure that your host only exists under the first-level router. Or if you connect another route below the main route and then connect to the computer, it is possible that the access to the external network will fail due to multi-level NAT. Finally, it is strongly recommended that the host use a wired connection to the network, in addition to the problem of connection stability, it will help prevent your brain from short-circuiting and trying to restart the wifi on the host side when you are remotely…
For p2p remote, both parties have the minimum delay under broadband connection. The measured connection delay in the province is 5-20ms, and the inter-provincial connection delay is 30-50ms. If 4g network connection is used, the delay in the province can also be 30ms. Not bad. It is recommended to prefer a broadband connection.
IO configuration
For the host, its server-like identity means that the streaming itself only needs to connect the network cable and power supply, but in order to achieve a more similar experience with the physical machine, I recommend purchasing the following three widgets:
- The main purpose of the hdmi decoy is to prevent the failure of the mainboard self-test without connecting the monitor, and to facilitate virtual multiple resolutions to adapt to different client display conditions. (Of course, you can also connect an unpowered monitor)
- A wireless mouse receiver, when the host is not connected to any mouse and keyboard, the parsec will not be able to control the keyboard and mouse, and a wireless receiver can replace the real keyboard and mouse input, and the volume is small. (Of course, you can also connect a real keyboard and mouse)
- A remote boot card. There is no need for me to say more about the function. There are many choices of online shopping platforms, and you can also choose a smart socket to cooperate with the call to automatically activate this function.
storage
The biggest split between the host and the client is that when I insert a USB flash drive into the client, why does the host not respond? To achieve complete shared storage between the host and the client, it is impossible under the current network bandwidth, and full sharing is impossible, but we can first set a small goal to achieve desktop synchronization between the host and the client. The main implementation methods are: nas transfer, p2p synchronization and various network disk synchronization. The principle of NAS transfer is the same as that of network disk synchronization. A third-party temporary storage disk is established between the host and the client. When only the host is online or only the client is online, the current desktop can be synchronized to the third-party temporary storage space. Here you can choose according to your usage habits.
The two mainstream software for p2p synchronization are the domestically produced micro force synchronization and the foreign syncthing. The principle of the two is the same, but the localization of Weili is a little better. P2p synchronization is different from nas or network disk, and synchronization can only be started when both the host and the client are online. If the amount of synchronous data is large, it will also affect the bandwidth and delay of the streaming. However, if you do not have the network conditions of the public network ip, and do not want to be restricted by the speed of uploading and downloading of the network disk, then p2p synchronization is also a suitable alternative.
Micro force synchronization
other
In addition to hardware and software configuration, parsec also has some “difficulties”, such as the 800 error mentioned above, most of which are caused by the blocking of parsec’s domain name by mobile broadband. To solve this problem, you can configure a proxy for the parsec client. The solution is that since the proxy does not actually participate in streaming and remote control, it is only responsible for login and paesec authentication, so the quality of the proxy does not affect the remote experience. The 6023 error is caused by multi-level NAT, and the solution has been described in the network section.
For building a cloud computer, parsec’s streaming plays a decisive role, but in fact, parsec is not just a “work software” like teamviewer. In fact, you can also use it to communicate with friends. Remote online connection, even on the official game platform arcade, you can join the online connection of strangers at any time without the need to install the game body on your computer. For cloud computers, the ability of parsec is not limited to win control win, mac control mac, in fact, due to parsec’s excellent compatibility and full platform, you can completely abandon virtual machine software such as parallels, as long as you have a win device, You can get 90% of the win experience at any time on mac, linux and android platforms.
Summarize
For cloud computing technology, p2p streaming is definitely a subversive technology. In the case of broadband connections on both sides, the latency issue that affects the experience the most can be compressed to 10-20ms, which is imperceptible to the human body. In addition to building a cloud computer by yourself, in fact, you can already see someone renting a parsec cloud host in a fish. Perhaps in the near future, Internet cafes will also reappear in front of us in a new way. In addition to parsec, many domestic p2p streaming remote control software has also sprung up, including domestic MyCloudGame and Mirage Mibu, but the compatibility and stability of these two are still difficult to achieve parsec. With the popularization of 5g and the further development of home network conditions, cloud computer technology will gradually become a part of future life like network disks. After abandoning the contradiction between performance and portability, I believe that personal computing devices will also usher in a new era. wheel development.
You can have both. Whether it is portable productivity or a small and neat performance monster, cloud computing shows us a future that is different from itx and gaming notebooks. Instead of waiting, build your own cloud computer now!
This article is reproduced from: https://sspai.com/post/74004
This site is for inclusion only, and the copyright belongs to the original author.