aboutsbus.po 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><title>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:11
  20. msgid "About SBUs"
  21. msgstr ""
  22. #. type: Content of: <sect1><para>
  23. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:13
  24. msgid ""
  25. "Many people would like to know beforehand approximately how long it takes to "
  26. "compile and install each package. Because Linux From Scratch can be built on "
  27. "many different systems, it is impossible to provide accurate time "
  28. "estimates. The biggest package (Glibc) will take approximately 20 minutes on "
  29. "the fastest systems, but could take up to three days on slower systems! "
  30. "Instead of providing actual times, the Standard Build Unit (SBU) measure "
  31. "will be used instead."
  32. msgstr ""
  33. #. type: Content of: <sect1><para>
  34. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:22
  35. msgid ""
  36. "The SBU measure works as follows. The first package to be compiled from this "
  37. "book is binutils in <xref linkend=\"chapter-cross-tools\"/>. The time it "
  38. "takes to compile this package is what will be referred to as the Standard "
  39. "Build Unit or SBU. All other compile times will be expressed relative to "
  40. "this time."
  41. msgstr ""
  42. #. type: Content of: <sect1><para>
  43. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:28
  44. msgid ""
  45. "For example, consider a package whose compilation time is 4.5 SBUs. This "
  46. "means that if a system took 10 minutes to compile and install the first pass "
  47. "of binutils, it will take <emphasis>approximately</emphasis> 45 minutes to "
  48. "build this example package. Fortunately, most build times are shorter than "
  49. "the one for binutils."
  50. msgstr ""
  51. #. type: Content of: <sect1><para>
  52. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:34
  53. msgid ""
  54. "In general, SBUs are not entirely accurate because they depend on many "
  55. "factors, including the host system's version of GCC. They are provided here "
  56. "to give an estimate of how long it might take to install a package, but the "
  57. "numbers can vary by as much as dozens of minutes in some cases."
  58. msgstr ""
  59. #. type: Content of: <sect1><note><para>
  60. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:40
  61. msgid ""
  62. "For many modern systems with multiple processors (or cores) the compilation "
  63. "time for a package can be reduced by performing a \"parallel make\" by "
  64. "either setting an environment variable or telling the "
  65. "<command>make</command> program how many processors are available. For "
  66. "instance, an Intel i5-6500 CPU can support four simultaneous processes with:"
  67. msgstr ""
  68. #. type: Content of: <sect1><note><screen>
  69. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:46
  70. #, no-wrap
  71. msgid "<userinput>export MAKEFLAGS='-j4'</userinput>"
  72. msgstr ""
  73. #. type: Content of: <sect1><note><para>
  74. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:48
  75. msgid "or just building with:"
  76. msgstr ""
  77. #. type: Content of: <sect1><note><screen>
  78. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:50
  79. #, no-wrap
  80. msgid "<userinput>make -j4</userinput>"
  81. msgstr ""
  82. #. type: Content of: <sect1><note><para>
  83. #: /home/xry111/svn-repos/LFS-BOOK/chapter04/aboutsbus.xml:52
  84. msgid ""
  85. "When multiple processors are used in this way, the SBU units in the book "
  86. "will vary even more than they normally would. In some cases, the make step "
  87. "will simply fail. Analyzing the output of the build process will also be "
  88. "more difficult because the lines of different processes will be "
  89. "interleaved. If you run into a problem with a build step, revert back to a "
  90. "single processor build to properly analyze the error messages."
  91. msgstr ""