Merge remote-tracking branch 'LCTT/master'

This commit is contained in:
Xingyu Wang 2019-11-26 22:24:42 +08:00
commit 2b93162579
4 changed files with 293 additions and 151 deletions

View File

@ -0,0 +1,142 @@
[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (8 ways to prepare your data center for AIs power draw)
[#]: via: (https://www.networkworld.com/article/3454626/8-ways-to-prepare-your-data-center-for-ai-s-power-draw.html)
[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
8 ways to prepare your data center for AIs power draw
======
Artificial intelligence requires greater processor density, which increases the demand for cooling and raises power requirements.
Thinkstock
As artificial intelligence takes off in enterprise settings, so will data center power usage. AI is many things, but power efficient is not one of them.
For data centers running typical enterprise applications, the average power consumption for a rack is around 7 kW. Yet its common for AI applications to use more than 30 kW per rack, according to data center organization [AFCOM][1]. Thats because AI requires much higher processor utilization, and the processors especially GPUs are power hungry. Nvidia GPUs, for example, may run several orders of magnitude faster than a CPU, but they also consume twice as much power per chip. Complicating the issue is that many data centers are already power constrained.
**READ MORE:** [Do you really need high performance computing?][2]
Cooling is also an issue: AI-oriented servers require greater processor density, which means more chips crammed into the box, and they all run very hot. Greater density, along with higher utilization, increases the demand for cooling as compared to a typical back-office server. Higher cooling requirements in turn raise power demands. 
[][3]
BrandPost Sponsored by HPE
[Take the Intelligent Route with Consumption-Based Storage][3]
Combine the agility and economics of HPE storage with HPE GreenLake and run your IT department with efficiency.
So what can you do if you want to embrace AI for competitive reasons but the power capacity of your existing facility isnt up to the high-density infrastructure requirements of AI? Here are some options.
### Consider liquid cooling
Fan cooling typically loses viability once a rack exceeds 15 kW. Water, however, has 3,000 times the heat capacity of air, according to [CoolIT Systems][4], a maker of enterprise liquid cooling products. As a result, server cabinet makers have been adding liquid pipes to their cabinets and connecting water piping to their heat sinks instead of fans.
“Liquid cooling is definitely a very good option for higher density loads,” says John Sasser, senior vice president for data center operations at [Sabey][5], a developer and operator of data centers. “That removes the messy airflow issue. Water removes a lot more heat than air does, and you can direct it through pipes. A lot of HPC [high performance computing] is done with liquid cooling.”
Most data centers are set up for air cooling, so liquid cooling will require a capital investment, “but that might be a much more sensible solution for these efforts, especially if a company decides to move in the direction [of AI],” Sasser says.
### Run AI workloads at lower resolutions
Existing data centers might be able to handle AI computational workloads but in a reduced fashion, says Steve Conway, senior research vice president for [Hyperion Research][6]. Many, if not most, workloads can be operated at half or quarter precision rather than 64-bit double precision.
“For some problems, half precision is fine,” Conway says. “Run it at lower resolution, with less data. Or with less science in it.”
Double-precision floating point calculations are primarily needed in scientific research, which is often done at the molecular level. Double precision is not typically used in AI training or inference on deep learning models because it is not needed. Even Nvidia [advocates][7] for use of single- and half-precision calculations in deep neural networks.
### Build an AI containment segment
AI will be a part of your business but not all, and that should be reflected in your data center. “The new facilities that are being built are contemplating allocating some portion of their facilities to higher power usage,” says Doug Hollidge, a partner with [Five 9s Digital][8], which builds and operates data centers. “Youre not going to put all of your facilities to higher density because there are other apps that have lower draw.”
The first thing to do is assess the energy supply to the building, Hollidge says. “If you are going to increase energy use in the building, youve got to make sure the power provider can increase the power supply.”
Bring in an engineer to assess which portion of the data center is best equipped for higher density capabilities. Workload requirements will determine the best solution, whether it be hot aisle containment or liquid cooling or some other technology. “Its hard to give one-size-fits-all solution since all data centers are different,” Hollidge says.
### Spread out your AI systems
An alternative approach rather than crowding all your AI systems into one spot hotter than Death Valley in August is to spread them out among the racks.
“Most of the apps are not high density. They run at eight to 10 kilowatts and up to 15 kilowatts. You can handle that with air,” says David McCall, chief innovation officer with [QTS][9], a builder of data centers.
In an optimized heterogeneous environment, a collocation provider might have a rack or two in a cabinet to host an HPC or AI environment, and the rest of the racks in the cabinet are dedicated to hosting less power-hungry applications, such as databases and back-office apps. That won't yield a 5 kW rack, but it gets a rack closer to 12 kW or 15 kW, which is an environment that air cooling can handle, McCall says.
### Control hot air flow in the data center
Standard data center layout is hot aisle/cold aisle, where the cabinets are laid out in alternating rows so that cold air intakes face each other on one front-facing aisle, and hot air exhausts face each other on the alternating back-facing aisle. That works fine, but access can be tricky if an IT worker needs to get behind a cabinet to work on a server.
The other problem is that air is “messy,” as Sasser put it. Power is often easier to model because it flows through conductors, and you can control (and thus plan and model) where power goes. Air goes where it wants and is hard to control.
Sabey customers that want higher density environments use a hot aisle containment pod to control air flow. The company puts doors at the end of the hot aisle and plastic plates over the top, so heat is directed into a ceiling intake pipe and the barriers keep hot air and cold air from mixing.
"In an air-cooled server world, the advice I give is go with a hot aisle containment environment,” Sasser says. "The other advice I would give is make sure the data center is tested for air flow, not just modeled for airflow. Modeling is dependent on a lot of variables, and they easily change."
### Consider a chimney cabinet
Another way to help manage temperatures in data centers is to use a chimney cabinet. Instead of venting the hot air out the back, a chimney cabinet uses good old physics convection to send hot air up into a chimney, which is then connected to an air conditioning vent. [Chatsworth Systems][10] is best known for this style of cabinets.
“The air pathway is more constrained this way,” Sasser says. “Since that air pathway is more constrained, you can get greater density into a cabinet than with a hot aisle pod.”
### Process data where it resides
Moving data around has a very high energy cost: It can take up to 100 times more energy to move data than it takes to process data, Conway says. Any form of data movement requires electricity, and that power drain increases with the volume of data a significant issue for data-intensive AI applications. “You want to move data as rarely and as little distance as you can,” Conway says.
“The solution is not to have to move the data any more or further than is absolutely necessary. So people are striving to put data closer to where it is processed. One thing cloud services providers and people who use cloud services agree on is it doesnt make sense to move a massive amount of data to a third-party cloud,” he says.
### Consider leasing data center space
Most of the companies looking to implement AI are corporations that lease data center space from a data center operator, Hollidge says. There are some data center operators that are not capable of handling high density AI computation, but some have transitioned to offering a portion of high density environments for AI.
“You might have to go through a few providers before finding it, but there is more attention being paid to that on the data center operations side,” Hollidge says. And a third-party data center provider gives you more growth options. “Most of the time you are better off entering into a flexible lease that allows you to expand and grow your AI business as opposed to building ground up.”
### Wait for next-generation servers
Supercomputers to date havent been very data friendly, Conway says. As supercomputers have gotten bigger, the designs have gotten less data-centric. The result is that more data has to be moved around and shuttled between processors, memory, and storage systems. And as discussed above, it costs more power to move data than to process it.
The first exascale systems will come with more accelerators and more powerful interconnections for moving around data. And many innovations that start in supercomputing, including GPUs and storage-class memory (SCM), eventually work their way down to more mainstream servers.
Future servers also will come with a more heterogeneous chip layout; instead of all x86 CPUs, they will include GPUs, FPGAs, and AI accelerators. And for high speed storage, NVMe-over-Fabric and SCM will become more affordable. Servers are set to change in the coming years, and many of the advances will benefit enterprise AI application environments.
**Learn more about HPC and supercomputers**
* [HPE to buy Cray, offer HPC as a service][11]
* [Decommissioning the Titan supercomputer][12]
* [10 of the world's fastest supercomputers][13]
* [Whats quantum computing and why should enterprises care?][14]
* [Whos developing quantum computers?][15]
Join the Network World communities on [Facebook][16] and [LinkedIn][17] to comment on topics that are top of mind.
--------------------------------------------------------------------------------
via: https://www.networkworld.com/article/3454626/8-ways-to-prepare-your-data-center-for-ai-s-power-draw.html
作者:[Andy Patrizio][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.networkworld.com/author/Andy-Patrizio/
[b]: https://github.com/lujun9972
[1]: https://www.afcom.com/
[2]: https://www.networkworld.com/article/3444399/high-performance-computing-do-you-need-it.html
[3]: https://www.networkworld.com/article/3440100/take-the-intelligent-route-with-consumption-based-storage.html?utm_source=IDG&utm_medium=promotions&utm_campaign=HPE20773&utm_content=sidebar ( Take the Intelligent Route with Consumption-Based Storage)
[4]: https://www.coolitsystems.com/
[5]: https://sabeydatacenters.com/
[6]: https://hyperionresearch.com/
[7]: https://devblogs.nvidia.com/mixed-precision-training-deep-neural-networks/
[8]: https://five9sdigital.com/
[9]: https://www.qtsdatacenters.com/
[10]: https://www.chatsworth.com/en-us/products/families/teraframe
[11]: https://www.networkworld.com/article/3396220/hpe-to-buy-cray-offer-hpc-as-a-service.html
[12]: https://www.networkworld.com/article/3408176/the-titan-supercomputer-is-being-decommissioned-a-costly-time-consuming-project.html
[13]: https://www.networkworld.com/article/3236875/embargo-10-of-the-worlds-fastest-supercomputers.html#slide1
[14]: https://www.networkworld.com/article/3275367/what-s-quantum-computing-and-why-enterprises-need-to-care.html#nww-fsb
[15]: https://www.networkworld.com/article/3275385/who-s-developing-quantum-computers.html
[16]: https://www.facebook.com/NetworkWorld/
[17]: https://www.linkedin.com/company/network-world

View File

@ -1,5 +1,5 @@
[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )

View File

@ -1,150 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to Use TimeShift to Backup and Restore Ubuntu Linux)
[#]: via: (https://www.linuxtechi.com/timeshift-backup-restore-ubuntu-linux/)
[#]: author: (James Kiarie https://www.linuxtechi.com/author/james/)
How to Use TimeShift to Backup and Restore Ubuntu Linux
======
Have you ever wondered how you can backup and restore your **Ubuntu** or **Debian system** ? **Timeshift** is a free and opensource tool that allows you to create incremental snapshots of your filesystem. You can create a snapshot using either **RSYNC** or **BTRFS**.
[![TimeShift-Backup-Restore-Tool-Ubuntu][1]][2]
With that. lets delve in and install Timeshift. For this tutorial, we shall install on Ubuntu 18.04 LTS system.
### Installing TimeShift on Ubuntu / Debian Linux
TimeShift is not hosted officially on Ubuntu and Debian repositories. With that in mind, we are going to run the command below to add the PPA:
```
# add-apt-repository -y ppa:teejee2008/ppa
```
![Add-timeshift-repository][1]
Next, update the system packages with the command:
```
# apt update
```
After a successful system update, install timeshift by running following apt command :
```
# apt install timeshift
```
![apt-install-timeshift][1]
### Preparing a backup storage device
Best practice demands that we save the system snapshot on a separate storage volume, aside from the systems hard drive. For this guide, we are using a 16 GB flash drive as the secondary drive on which we are going to save the snapshot.
```
# lsblk | grep sdb
```
![lsblk-sdb-ubuntu][1]
For the flash drive to be used as a backup location for the snapshot, we need to create a partition table on the device. Run the following commands:
```
# parted /dev/sdb mklabel gpt
# parted /dev/sdb mkpart primary 0% 100%
# mkfs.ext4 /dev/sdb1
```
![create-partition-table-on-drive-ubuntu][1]
After creating a partition table on the USB flash drive, we are all set to begin creating filesystems snapshots!
### Using Timeshift to create snapshots
To launch Timeshift, use the application menu to search for the  Timeshift application.
![Access-Timeshift-Ubuntu][1]
Click on the Timeshift icon and the system will prompt you for the Administrators password. Provide the password and click on Authenticate
![Authentication-required-ubuntu][1]
Next, select your preferred snapshot type.
![Select-Rsync-option-timeshift][1]
Click **Next**.  Select the destination drive for the snapshot. In this case, my location is the external USB drive labeled as **/dev/sdb**
![Select-snapshot location][1]
Next, define the snapshot levels. Levels refer to the intervals during which the snapshots are created.  You can choose to have either monthly, weekly, daily, or hourly snapshot levels.
![Select-snapshot-levels-Timeshift][1]
Click Finish
On the next Window, click on the **Create** button to begin creating the snapshot. Thereafter, the system will begin creating the snapshot.
![Create-snapshot-timeshift][1]
Finally, your snapshot will be displayed as shown
![Snapshot-created-TimeShift][1]
### Restoring Ubuntu / Debian from a snapshot
Having created a system snapshot, lets now see how you can restore your system from the same snapshot. On the same Timeshift window, click on the snapshot and click on the **Restore** button as shown.
![Restore-snapshot-timeshift][1]
Next, you will be prompted to select the target device.  leave the default selection and hit **Next**.
![Select-target-device-timeshift][1]
A dry run will be performed by Timeshift before the restore process commences.
![Comparing-files-Dry-Run-timeshift][1]
In the next window, hit the **Next**  button to confirm actions displayed.
![Confirm-actions-timeshift][1]
Youll get a warning and a disclaimer as shown. Click **Next** to initialize the restoration process.
Thereafter, the restore process will commence and finally, the system will thereafter reboot into an earlier version as defined by the snapshot.
![Restoring-snapshot-timeshift][1]
**Conclusion**
As you have seen it quite easy to use TimeShift to restore your system from a snapshot. It comes in handy when backing up system files and allows you to recover in the event of a system fault. So dont get scared to tinker with your system or mess up. TimeShift will give you the ability to go back to a point in time when everything was running smoothly.
* [Facebook][3]
* [Twitter][4]
* [LinkedIn][5]
* [Reddit][6]
--------------------------------------------------------------------------------
via: https://www.linuxtechi.com/timeshift-backup-restore-ubuntu-linux/
作者:[James Kiarie][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.linuxtechi.com/author/james/
[b]: https://github.com/lujun9972
[1]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
[2]: https://www.linuxtechi.com/wp-content/uploads/2019/11/TimeShift-Backup-Restore-Tool-Ubuntu.png
[3]: http://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.linuxtechi.com%2Ftimeshift-backup-restore-ubuntu-linux%2F&t=How%20to%20Use%20TimeShift%20to%20Backup%20and%20Restore%20Ubuntu%20Linux
[4]: http://twitter.com/share?text=How%20to%20Use%20TimeShift%20to%20Backup%20and%20Restore%20Ubuntu%20Linux&url=https%3A%2F%2Fwww.linuxtechi.com%2Ftimeshift-backup-restore-ubuntu-linux%2F&via=Linuxtechi
[5]: http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.linuxtechi.com%2Ftimeshift-backup-restore-ubuntu-linux%2F&title=How%20to%20Use%20TimeShift%20to%20Backup%20and%20Restore%20Ubuntu%20Linux
[6]: http://www.reddit.com/submit?url=https%3A%2F%2Fwww.linuxtechi.com%2Ftimeshift-backup-restore-ubuntu-linux%2F&title=How%20to%20Use%20TimeShift%20to%20Backup%20and%20Restore%20Ubuntu%20Linux

View File

@ -0,0 +1,150 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to Use TimeShift to Backup and Restore Ubuntu Linux)
[#]: via: (https://www.linuxtechi.com/timeshift-backup-restore-ubuntu-linux/)
[#]: author: (James Kiarie https://www.linuxtechi.com/author/james/)
如何使用 TimeShift 备份和还原 Ubuntu Linux
======
你是否曾经想过如何备份和还原 **Ubuntu****Debian** 系统? **Timeshift**是一款免费的开源工具,可让你创建文件系统的增量快照。你也可以使用 **RSYNC****BTRFS** 创建快照。
[![TimeShift-Backup-Restore-Tool-Ubuntu][1]][2]
让我们深入研究并安装 Timeshift。对于本教程我们将安装在 Ubuntu 18.04 LTS 系统上。
### 在 Ubuntu / Debian Linux 上安装 TimeShift
TimeShift 尚未正式托管在 Ubuntu 和 Debian 仓库中。考虑到这一点,我们将运行以下命令来添加 PPA
```
# add-apt-repository -y ppa:teejee2008/ppa
```
![Add-timeshift-repository][1]
接下来,使用以下命令更新系统软件包:
```
# apt update
```
成功更新系统后,使用以下 apt 命令安装 Timeshift
```
# apt install timeshift
```
![apt-install-timeshift][1]
### 准备备份存储设备
最佳实践要求我们将系统快照保存在系统硬盘之外的单独的存储卷上。对于本指南,我们将使用 16GB 闪存作为辅助存储,并在该辅助存储上保存快照。
```
# lsblk | grep sdb
```
![lsblk-sdb-ubuntu][1]
为了将闪存用作快照的备份位置,我们需要在设备上创建一个分区表。运行以下命令:
```
# parted /dev/sdb mklabel gpt
# parted /dev/sdb mkpart primary 0% 100%
# mkfs.ext4 /dev/sdb1
```
![create-partition-table-on-drive-ubuntu][1]
在 USB 闪存上创建分区表后,我们可以开始创建文件系统的快照!
### 使用 Timeshift 创建快照
要启动 Timeshift使用应用程序菜单搜索 Timeshift。
![Access-Timeshift-Ubuntu][1]
单击 Timeshift 图标,系统将提示你输入管理员密码。提供密码,然后单击验证
![Authentication-required-ubuntu][1]
接下来,选择你喜欢的快照类型。
![Select-Rsync-option-timeshift][1]
点击 “**Next**”。选择快照的目标驱动器。在这里,我的位置是标记为 **/dev/sdb** 的外部 USB 驱动器
![Select-snapshot location][1]
接下来,定义快照级别。级别是指创建快照的时间间隔。你可以选择每月、每周、每天或每小时的快照级别。
![Select-snapshot-levels-Timeshift][1]
点击 “Finish”
在下一个窗口中,单击 “**Create**” 按钮开始创建快照。此后,系统将开始创建快照。
![Create-snapshot-timeshift][1]
最后,你的快照将显示如下:
![Snapshot-created-TimeShift][1]
### 从快照还原 Ubuntu / Debian
创建系统快照后,现在让我们看看如何从同一快照还原系统。在同一个 Timeshift 中,单击快照,然后单击 “**Restore**” 按钮,如图所示。
![Restore-snapshot-timeshift][1]
接下来,将提示你选择目标设备。保留默认选择,然后点击 “**Next**”。
![Select-target-device-timeshift][1]
恢复过程开始之前Timeshift 将试运行。
![Comparing-files-Dry-Run-timeshift][1]
在下一个窗口中,点击 “**Next**” 按钮确认显示的操作。
![Confirm-actions-timeshift][1]
如图所示,你会看到警告和免责声明。点击 “**Next**” 初始化恢复过程。
此后,将开始还原过程,最后,系统之后将重新启动到快照定义的早期版本。
![Restoring-snapshot-timeshift][1]
**总结**
如你所见,使用 TimeShift 从快照还原系统非常容易。在备份系统文件时它非常方便并允许你在系统故障时进行恢复。因此不要害怕修改系统或弄乱系统。TimeShift 使你能够返回到一切运行平稳的时间点。
* [Facebook][3]
* [Twitter][4]
* [LinkedIn][5]
* [Reddit][6]
--------------------------------------------------------------------------------
via: https://www.linuxtechi.com/timeshift-backup-restore-ubuntu-linux/
作者:[James Kiarie][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.linuxtechi.com/author/james/
[b]: https://github.com/lujun9972
[1]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
[2]: https://www.linuxtechi.com/wp-content/uploads/2019/11/TimeShift-Backup-Restore-Tool-Ubuntu.png
[3]: http://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.linuxtechi.com%2Ftimeshift-backup-restore-ubuntu-linux%2F&t=How%20to%20Use%20TimeShift%20to%20Backup%20and%20Restore%20Ubuntu%20Linux
[4]: http://twitter.com/share?text=How%20to%20Use%20TimeShift%20to%20Backup%20and%20Restore%20Ubuntu%20Linux&url=https%3A%2F%2Fwww.linuxtechi.com%2Ftimeshift-backup-restore-ubuntu-linux%2F&via=Linuxtechi
[5]: http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.linuxtechi.com%2Ftimeshift-backup-restore-ubuntu-linux%2F&title=How%20to%20Use%20TimeShift%20to%20Backup%20and%20Restore%20Ubuntu%20Linux
[6]: http://www.reddit.com/submit?url=https%3A%2F%2Fwww.linuxtechi.com%2Ftimeshift-backup-restore-ubuntu-linux%2F&title=How%20to%20Use%20TimeShift%20to%20Backup%20and%20Restore%20Ubuntu%20Linux