Translation components API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/translations/documentation/articlesvm-design_index/zh_CN/units/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 94,
    "next": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/units/?format=api&page=2",
    "previous": null,
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Design elements of the FreeBSD VM system"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7433581282980789500,
            "content_hash": 7433581282980789500,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:1, documentation/content/en/articles/vm-design/_index.adoc:11",
            "context": "",
            "note": "type: Title =",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 2,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367943/?format=api",
            "priority": 100,
            "id": 707402,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=e72962cac50ffcfc",
            "url": "https://translate-dev.freebsd.org/api/units/707402/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.552544Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Abstract"
            ],
            "previous_source": "",
            "target": [
                "摘要"
            ],
            "id_hash": 2824600030541811663,
            "content_hash": 2824600030541811663,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:44",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 3,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367945/?format=api",
            "priority": 100,
            "id": 707403,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=a732fec32d008fcf",
            "url": "https://translate-dev.freebsd.org/api/units/707403/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.571902Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "The title is really just a fancy way of saying that I am going to attempt to describe the whole VM enchilada, hopefully in a way that everyone can follow.  For the last year I have concentrated on a number of major kernel subsystems within FreeBSD, with the VM and Swap subsystems being the most interesting and NFS being \"a necessary chore\".  I rewrote only small portions of the code. In the VM arena the only major rewrite I have done is to the swap subsystem.  Most of my work was cleanup and maintenance, with only moderate code rewriting and no major algorithmic adjustments within the VM subsystem.  The bulk of the VM subsystem's theoretical base remains unchanged and a lot of the credit for the modernization effort in the last few years belongs to John Dyson and David Greenman.  Not being a historian like Kirk I will not attempt to tag all the various features with peoples names, since I will invariably get it wrong."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7312304718250146262,
            "content_hash": 7312304718250146262,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:53",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 5,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 166,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615365/?format=api",
            "priority": 100,
            "id": 707404,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=e57a866624b679d6",
            "url": "https://translate-dev.freebsd.org/api/units/707404/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.617568Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "'''"
            ],
            "previous_source": "",
            "target": [
                "'''"
            ],
            "id_hash": -2596281593872070506,
            "content_hash": -2596281593872070506,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:55",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 6,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367949/?format=api",
            "priority": 100,
            "id": 707405,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=5bf827a5645ec896",
            "url": "https://translate-dev.freebsd.org/api/units/707405/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.639805Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Introduction"
            ],
            "previous_source": "",
            "target": [
                "介绍"
            ],
            "id_hash": 5330140601372690748,
            "content_hash": 5330140601372690748,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:59",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 7,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367951/?format=api",
            "priority": 100,
            "id": 707406,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=c9f876a2fbb4c93c",
            "url": "https://translate-dev.freebsd.org/api/units/707406/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.666761Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Before moving along to the actual design let's spend a little time on the necessity of maintaining and modernizing any long-living codebase.  In the programming world, algorithms tend to be more important than code and it is precisely due to BSD's academic roots that a great deal of attention was paid to algorithm design from the beginning.  More attention paid to the design generally leads to a clean and flexible codebase that can be fairly easily modified, extended, or replaced over time.  While BSD is considered an \"old\" operating system by some people, those of us who work on it tend to view it more as a \"mature\" codebase which has various components modified, extended, or replaced with modern code.  It has evolved, and FreeBSD is at the bleeding edge no matter how old some of the code might be.  This is an important distinction to make and one that is unfortunately lost to many people.  The biggest error a programmer can make is to not learn from history, and this is precisely the error that many other modern operating systems have made.  Windows NT(R) is the best example of this, and the consequences have been dire.  Linux also makes this mistake to some degree-enough that we BSD folk can make small jokes about it every once in a while, anyway.  Linux's problem is simply one of a lack of experience and history to compare ideas against, a problem that is easily and rapidly being addressed by the Linux community in the same way it has been addressed in the BSD community-by continuous code development.  The Windows NT(R) folk, on the other hand, repeatedly make the same mistakes solved by UNIX(R) decades ago and then spend years fixing them.  Over and over again.  They have a severe case of \"not designed here\" and \"we are always right because our marketing department says so\".  I have little tolerance for anyone who cannot learn from history."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3503886788887829682,
            "content_hash": 3503886788887829682,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:75",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 8,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 324,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615367/?format=api",
            "priority": 100,
            "id": 707407,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=b0a04e7858d7dcb2",
            "url": "https://translate-dev.freebsd.org/api/units/707407/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.722829Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Much of the apparent complexity of the FreeBSD design, especially in the VM/Swap subsystem, is a direct result of having to solve serious performance issues that occur under various conditions.  These issues are not due to bad algorithmic design but instead rise from environmental factors.  In any direct comparison between platforms, these issues become most apparent when system resources begin to get stressed.  As I describe FreeBSD's VM/Swap subsystem the reader should always keep two points in mind:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -5877286600379949665,
            "content_hash": -5877286600379949665,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:80",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 9,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 78,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615369/?format=api",
            "priority": 100,
            "id": 707408,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=2e6faef9e5309d9f",
            "url": "https://translate-dev.freebsd.org/api/units/707408/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.749641Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "A solid, generalized design outperforms a heavily-optimized design over the long run. While a generalized design may end up being slower than an heavily-optimized design when they are first implemented, the generalized design tends to be easier to adapt to changing conditions and the heavily-optimized design winds up having to be thrown away."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7605703704165970403,
            "content_hash": 7605703704165970403,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:83",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 11,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 53,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367959/?format=api",
            "priority": 100,
            "id": 707410,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=e98ce338e1af71e3",
            "url": "https://translate-dev.freebsd.org/api/units/707410/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.773904Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Any codebase that will survive and be maintainable for years must therefore be designed properly from the beginning even if it costs some performance.  Twenty years ago people were still arguing that programming in assembly was better than programming in a high-level language because it produced code that was ten times as fast.  Today, the fallibility of that argument is obvious - as are the parallels to algorithmic design and code generalization."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1172663613538271878,
            "content_hash": -1172663613538271878,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:87",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 12,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 72,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615371/?format=api",
            "priority": 100,
            "id": 707411,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=6fb9dca812067d7a",
            "url": "https://translate-dev.freebsd.org/api/units/707411/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.792766Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "VM Objects"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -5397814950238479805,
            "content_hash": -5397814950238479805,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:89",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 13,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367963/?format=api",
            "priority": 100,
            "id": 707412,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=35171be6cfbe1a43",
            "url": "https://translate-dev.freebsd.org/api/units/707412/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.826540Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "The best way to begin describing the FreeBSD VM system is to look at it from the perspective of a user-level process.  Each user process sees a single, private, contiguous VM address space containing several types of memory objects.  These objects have various characteristics.  Program code and program data are effectively a single memory-mapped file (the binary file being run), but program code is read-only while program data is copy-on-write.  Program BSS is just memory allocated and filled with zeros on demand, called demand zero page fill.  Arbitrary files can be memory-mapped into the address space as well, which is how the shared library mechanism works.  Such mappings can require modifications to remain private to the process making them.  The fork system call adds an entirely new dimension to the VM management problem on top of the complexity already given."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8563897145619441028,
            "content_hash": 8563897145619441028,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:99",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 14,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 140,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615373/?format=api",
            "priority": 100,
            "id": 707413,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=f6d9131499a0e584",
            "url": "https://translate-dev.freebsd.org/api/units/707413/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.834774Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "A program binary data page (which is a basic copy-on-write page) illustrates the complexity.  A program binary contains a preinitialized data section which is initially mapped directly from the program file.  When a program is loaded into a process's VM space, this area is initially memory-mapped and backed by the program binary itself, allowing the VM system to free/reuse the page and later load it back in from the binary.  The moment a process modifies this data, however, the VM system must make a private copy of the page for that process.  Since the private copy has been modified, the VM system may no longer free it, because there is no longer any way to restore it later on."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1044570962678253903,
            "content_hash": -1044570962678253903,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:105",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 15,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 119,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615375/?format=api",
            "priority": 100,
            "id": 707414,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=7180f03e6adff6b1",
            "url": "https://translate-dev.freebsd.org/api/units/707414/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.885672Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "FreeBSD manages all of this with a layered VM Object model.  The original binary program file winds up being the lowest VM Object layer.  A copy-on-write layer is pushed on top of that to hold those pages which had to be copied from the original file.  If the program modifies a data page belonging to the original file the VM system takes a fault and makes a copy of the page in the higher layer.  When a process forks, additional VM Object layers are pushed on.  This might make a little more sense with a fairly basic example.  A `fork()` is a common operation for any *BSD system, so this example will consider a program that starts up, and forks.  When the process starts, the VM system creates an object layer, let's call this A:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3508589053702886792,
            "content_hash": 3508589053702886792,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:121",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 17,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 135,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615379/?format=api",
            "priority": 100,
            "id": 707416,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=b0b10327b0c8d588",
            "url": "https://translate-dev.freebsd.org/api/units/707416/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:47.943586Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "A picture"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7986934669051171693,
            "content_hash": -7986934669051171693,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:122",
            "context": "",
            "note": "type: Positional ($1) AttributeList argument for macro 'image'",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 18,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367973/?format=api",
            "priority": 100,
            "id": 707417,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=1128b53c2ef3ec93",
            "url": "https://translate-dev.freebsd.org/api/units/707417/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.044809Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "fig1.png"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4278354640899387222,
            "content_hash": 4278354640899387222,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:122",
            "context": "",
            "note": "type: Target for macro image",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 19,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367975/?format=api",
            "priority": 100,
            "id": 707418,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=bb5fc4e0d1f3af56",
            "url": "https://translate-dev.freebsd.org/api/units/707418/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.084476Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "A represents the file-pages may be paged in and out of the file's physical media as necessary.  Paging in from the disk is reasonable for a program, but we really do not want to page back out and overwrite the executable.  The VM system therefore creates a second layer, B, that will be physically backed by swap space:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 669767678025411190,
            "content_hash": 669767678025411190,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:127",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 20,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 58,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615381/?format=api",
            "priority": 100,
            "id": 707419,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=894b7e2792be2a76",
            "url": "https://translate-dev.freebsd.org/api/units/707419/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.117740Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "fig2.png"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -460411412370517713,
            "content_hash": -460411412370517713,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:128",
            "context": "",
            "note": "type: Target for macro image",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 21,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367979/?format=api",
            "priority": 100,
            "id": 707420,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=799c4a42831e912f",
            "url": "https://translate-dev.freebsd.org/api/units/707420/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.146252Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "On the first write to a page after this, a new page is created in B, and its contents are initialized from A.  All pages in B can be paged in or out to a swap device.  When the program forks, the VM system creates two new object layers-C1 for the parent, and C2 for the child-that rest on top of B:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7044824120912214871,
            "content_hash": -7044824120912214871,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:133",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 22,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 62,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615383/?format=api",
            "priority": 100,
            "id": 707421,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=1e3bc1c97fec84a9",
            "url": "https://translate-dev.freebsd.org/api/units/707421/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.162886Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "fig3.png"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3376502860507835919,
            "content_hash": -3376502860507835919,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:134",
            "context": "",
            "note": "type: Target for macro image",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 23,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367983/?format=api",
            "priority": 100,
            "id": 707422,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=51244089b05711f1",
            "url": "https://translate-dev.freebsd.org/api/units/707422/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.222294Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "In this case, let's say a page in B is modified by the original parent process.  The process will take a copy-on-write fault and duplicate the page in C1, leaving the original page in B untouched.  Now, let's say the same page in B is modified by the child process.  The process will take a copy-on-write fault and duplicate the page in C2.  The original page in B is now completely hidden since both C1 and C2 have a copy and B could theoretically be destroyed if it does not represent a \"real\" file; however, this sort of optimization is not trivial to make because it is so fine-grained.  FreeBSD does not make this optimization.  Now, suppose (as is often the case) that the child process does an `exec()`.  Its current address space is usually replaced by a new address space representing a new file.  In this case, the C2 layer is destroyed:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -9136506890461498359,
            "content_hash": -9136506890461498359,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:145",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 24,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 153,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615385/?format=api",
            "priority": 100,
            "id": 707423,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=01349b63f2223409",
            "url": "https://translate-dev.freebsd.org/api/units/707423/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.278513Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "fig4.png"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2773987714041534585,
            "content_hash": -2773987714041534585,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:146",
            "context": "",
            "note": "type: Target for macro image",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 25,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367987/?format=api",
            "priority": 100,
            "id": 707424,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=5980d0df0d41a787",
            "url": "https://translate-dev.freebsd.org/api/units/707424/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.294322Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "In this case, the number of children of B drops to one, and all accesses to B now go through C1.  This means that B and C1 can be collapsed together.  Any pages in B that also exist in C1 are deleted from B during the collapse.  Thus, even though the optimization in the previous step could not be made, we can recover the dead pages when either of the processes exit or `exec()`."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3676186659215458374,
            "content_hash": -3676186659215458374,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:152",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 26,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 74,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615387/?format=api",
            "priority": 100,
            "id": 707425,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=4cfb8fb5f16ebfba",
            "url": "https://translate-dev.freebsd.org/api/units/707425/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.325816Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "This model creates a number of potential problems.  The first is that you can wind up with a relatively deep stack of layered VM Objects which can cost scanning time and memory when you take a fault.  Deep layering can occur when processes fork and then fork again (either parent or child).  The second problem is that you can wind up with dead, inaccessible pages deep in the stack of VM Objects.  In our last example if both the parent and child processes modify the same page, they both get their own private copies of the page and the original page in B is no longer accessible by anyone.  That page in B can be freed."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3201579251021163267,
            "content_hash": -3201579251021163267,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:159",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 27,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 116,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615389/?format=api",
            "priority": 100,
            "id": 707426,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=5391b4a2469f54fd",
            "url": "https://translate-dev.freebsd.org/api/units/707426/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.385646Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "FreeBSD solves the deep layering problem with a special optimization called the \"All Shadowed Case\".  This case occurs if either C1 or C2 take sufficient COW faults to completely shadow all pages in B.  Lets say that C1 achieves this.  C1 can now bypass B entirely, so rather then have C1->B->A and C2->B->A we now have C1->A and C2->B->A.  But look what also happened-now B has only one reference (C2), so we can collapse B and C2 together.  The end result is that B is deleted entirely and we have C1->A and C2->A.  It is often the case that B will contain a large number of pages and neither C1 nor C2 will be able to completely overshadow it.  If we fork again and create a set of D layers, however, it is much more likely that one of the D layers will eventually be able to completely overshadow the much smaller dataset represented by C1 or C2.  The same optimization will work at any point in the graph and the grand result of this is that even on a heavily forked machine VM Object stacks tend to not get much deeper then 4.  This is true of both the parent and the children and true whether the parent is doing the forking or whether the children cascade forks."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8401165672617129096,
            "content_hash": 8401165672617129096,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:170",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 28,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 219,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615391/?format=api",
            "priority": 100,
            "id": 707427,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=f496efaaff8cb488",
            "url": "https://translate-dev.freebsd.org/api/units/707427/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.407531Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "The dead page problem still exists in the case where C1 or C2 do not completely overshadow B.  Due to our other optimizations this case does not represent much of a problem and we simply allow the pages to be dead.  If the system runs low on memory it will swap them out, eating a little swap, but that is it."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5007560720226111764,
            "content_hash": 5007560720226111764,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:174",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 29,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 61,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615393/?format=api",
            "priority": 100,
            "id": 707428,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=c57e6df1a046d114",
            "url": "https://translate-dev.freebsd.org/api/units/707428/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.437358Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "The advantage to the VM Object model is that `fork()` is extremely fast, since no real data copying need take place.  The disadvantage is that you can build a relatively complex VM Object layering that slows page fault handling down a little, and you spend memory managing the VM Object structures.  The optimizations FreeBSD makes proves to reduce the problems enough that they can be ignored, leaving no real disadvantage."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -5357844410067895347,
            "content_hash": -5357844410067895347,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:178",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 30,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 70,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615395/?format=api",
            "priority": 100,
            "id": 707429,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=35a51ce568173bcd",
            "url": "https://translate-dev.freebsd.org/api/units/707429/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.485965Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "SWAP Layers"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -5649517746058824123,
            "content_hash": -5649517746058824123,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:180",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 31,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/367999/?format=api",
            "priority": 100,
            "id": 707430,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=3198e18ad9e5f645",
            "url": "https://translate-dev.freebsd.org/api/units/707430/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.644311Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Private data pages are initially either copy-on-write or zero-fill pages.  When a change, and therefore a copy, is made, the original backing object (usually a file) can no longer be used to save a copy of the page when the VM system needs to reuse it for other purposes.  This is where SWAP comes in.  SWAP is allocated to create backing store for memory that does not otherwise have it.  FreeBSD allocates the swap management structure for a VM Object only when it is actually needed.  However, the swap management structure has had problems historically:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1315532285212979335,
            "content_hash": 1315532285212979335,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:188",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 32,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 95,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615397/?format=api",
            "priority": 100,
            "id": 707431,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=9241b5a4b6ad7087",
            "url": "https://translate-dev.freebsd.org/api/units/707431/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.724042Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Under FreeBSD 3.X the swap management structure preallocates an array that encompasses the entire object requiring swap backing store-even if only a few pages of that object are swap-backed. This creates a kernel memory fragmentation problem when large objects are mapped, or processes with large runsizes (RSS) fork."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 364383122539995788,
            "content_hash": 364383122539995788,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:190",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 33,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 48,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368003/?format=api",
            "priority": 100,
            "id": 707432,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=850e8c84f524e28c",
            "url": "https://translate-dev.freebsd.org/api/units/707432/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.739800Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "It requires kernel memory allocations to take place during the swap freeing process, and that creates low memory deadlock problems."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 415026583846586014,
            "content_hash": 415026583846586014,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:192",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 35,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 20,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368007/?format=api",
            "priority": 100,
            "id": 707434,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=85c2787aa685069e",
            "url": "https://translate-dev.freebsd.org/api/units/707434/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.775212Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "The problem is further exacerbated by holes created due to the interleaving algorithm."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3311364613565436823,
            "content_hash": 3311364613565436823,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:193",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 36,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 13,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368009/?format=api",
            "priority": 100,
            "id": 707435,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=adf45492595dd397",
            "url": "https://translate-dev.freebsd.org/api/units/707435/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.847795Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Also, the swap block map can become fragmented fairly easily resulting in non-contiguous allocations."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7186834998021186633,
            "content_hash": -7186834998021186633,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:194",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 37,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 14,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368011/?format=api",
            "priority": 100,
            "id": 707436,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=1c433ba5939a1bb7",
            "url": "https://translate-dev.freebsd.org/api/units/707436/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:48.866579Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Kernel memory must also be allocated on the fly for additional swap management structures when a swapout occurs."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4076615525758908292,
            "content_hash": 4076615525758908292,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:195",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 38,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 18,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368013/?format=api",
            "priority": 100,
            "id": 707437,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=b8930c38cab3b784",
            "url": "https://translate-dev.freebsd.org/api/units/707437/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.185416Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "It is evident from that list that there was plenty of room for improvement.  For FreeBSD 4.X, I completely rewrote the swap subsystem:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6790780388169697555,
            "content_hash": 6790780388169697555,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:198",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 39,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 23,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615399/?format=api",
            "priority": 100,
            "id": 707438,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=de3db2c8b08b4913",
            "url": "https://translate-dev.freebsd.org/api/units/707438/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.243369Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Swap management structures are allocated through a hash table rather than a linear array giving them a fixed allocation size and much finer granularity."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3185326950855392566,
            "content_hash": 3185326950855392566,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:200",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 40,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 24,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368017/?format=api",
            "priority": 100,
            "id": 707439,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=ac348dfc3736bd36",
            "url": "https://translate-dev.freebsd.org/api/units/707439/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.269318Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Rather then using a linearly linked list to keep track of swap space reservations, it now uses a bitmap of swap blocks arranged in a radix tree structure with free-space hinting in the radix node structures. This effectively makes swap allocation and freeing an O(1) operation."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1116449027693962317,
            "content_hash": 1116449027693962317,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:201",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 41,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 46,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368019/?format=api",
            "priority": 100,
            "id": 707440,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=8f7e6c79b987644d",
            "url": "https://translate-dev.freebsd.org/api/units/707440/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.293381Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "To reduce fragmentation the radix tree is capable of allocating large contiguous chunks at once, skipping over smaller fragmented chunks."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 990217662889969609,
            "content_hash": 990217662889969609,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:203",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 43,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 20,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368023/?format=api",
            "priority": 100,
            "id": 707442,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=8dbdf5b7cedfc7c9",
            "url": "https://translate-dev.freebsd.org/api/units/707442/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.350486Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "When to free a page"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3579756300736772617,
            "content_hash": -3579756300736772617,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:207",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 45,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368027/?format=api",
            "priority": 100,
            "id": 707444,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=4e52269c601e45f7",
            "url": "https://translate-dev.freebsd.org/api/units/707444/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.440028Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Since the VM system uses all available memory for disk caching, there are usually very few truly-free pages.  The VM system depends on being able to properly choose pages which are not in use to reuse for new allocations.  Selecting the optimal pages to free is possibly the single-most important function any VM system can perform because if it makes a poor selection, the VM system may be forced to unnecessarily retrieve pages from disk, seriously degrading system performance."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 204140903070093057,
            "content_hash": 204140903070093057,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:212",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 46,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 79,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615401/?format=api",
            "priority": 100,
            "id": 707445,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=82d54111db9ecf01",
            "url": "https://translate-dev.freebsd.org/api/units/707445/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.463050Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "The free page determination algorithm is built upon a history of the use of memory pages.  To acquire this history, the system takes advantage of a page-used bit feature that most hardware page tables have."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6858376981814393393,
            "content_hash": -6858376981814393393,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:218",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 48,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 35,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615405/?format=api",
            "priority": 100,
            "id": 707447,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=20d22678e73cc5cf",
            "url": "https://translate-dev.freebsd.org/api/units/707447/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.535673Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "In any case, the page-used bit is cleared and at some later point the VM system comes across the page again and sees that the page-used bit has been set.  This indicates that the page is still being actively used.  If the bit is still clear it is an indication that the page is not being actively used.  By testing this bit periodically, a use history (in the form of a counter) for the physical page is developed.  When the VM system later needs to free up some pages, checking this history becomes the cornerstone of determining the best candidate page to reuse."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4733636345993738193,
            "content_hash": 4733636345993738193,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:224",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 49,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 103,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615407/?format=api",
            "priority": 100,
            "id": 707448,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=c1b1412d42d5b7d1",
            "url": "https://translate-dev.freebsd.org/api/units/707448/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.599824Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "For those platforms that do not have this feature, the system actually emulates a page-used bit.  It unmaps or protects a page, forcing a page fault if the page is accessed again.  When the page fault is taken, the system simply marks the page as having been used and unprotects the page so that it may be used.  While taking such page faults just to determine if a page is being used appears to be an expensive proposition, it is much less expensive than reusing the page for some other purpose only to find that a process needs it back and then have to go to disk."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1836524288596584530,
            "content_hash": -1836524288596584530,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:229",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 50,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 107,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615409/?format=api",
            "priority": 100,
            "id": 707449,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=66835ae3ccd2d7ae",
            "url": "https://translate-dev.freebsd.org/api/units/707449/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.695082Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "FreeBSD makes use of several page queues to further refine the selection of pages to reuse as well as to determine when dirty pages must be flushed to their backing store.  Since page tables are dynamic entities under FreeBSD, it costs virtually nothing to unmap a page from the address space of any processes using it.  When a page candidate has been chosen based on the page-use counter, this is precisely what is done.  The system must make a distinction between clean pages which can theoretically be freed up at any time, and dirty pages which must first be written to their backing store before being reusable.  When a page candidate has been found it is moved to the inactive queue if it is dirty, or the cache queue if it is clean.  A separate algorithm based on the dirty-to-clean page ratio determines when dirty pages in the inactive queue must be flushed to disk.  Once this is accomplished, the flushed pages are moved from the inactive queue to the cache queue.  At this point, pages in the cache queue can still be reactivated by a VM fault at relatively low cost.  However, pages in the cache queue are considered to be \"immediately freeable\" and will be reused in an LRU (least-recently used) fashion when the system needs to allocate new memory."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2673623526903959567,
            "content_hash": 2673623526903959567,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:239",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 51,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 222,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615411/?format=api",
            "priority": 100,
            "id": 707450,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=a51a9e6ea83cd00f",
            "url": "https://translate-dev.freebsd.org/api/units/707450/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.723316Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "It is important to note that the FreeBSD VM system attempts to separate clean and dirty pages for the express reason of avoiding unnecessary flushes of dirty pages (which eats I/O bandwidth), nor does it move pages between the various page queues gratuitously when the memory subsystem is not being stressed.  This is why you will see some systems with very low cache queue counts and high active queue counts when doing a `systat -vm` command.  As the VM system becomes more stressed, it makes a greater effort to maintain the various page queues at the levels determined to be the most effective."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7639403564355480804,
            "content_hash": 7639403564355480804,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:243",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 52,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 103,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615413/?format=api",
            "priority": 100,
            "id": 707451,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=ea049d110542ece4",
            "url": "https://translate-dev.freebsd.org/api/units/707451/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.738842Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Pre-Faulting and Zeroing Optimizations"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7199560516843032198,
            "content_hash": -7199560516843032198,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:249",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 54,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368045/?format=api",
            "priority": 100,
            "id": 707453,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=1c1605dad6a4b17a",
            "url": "https://translate-dev.freebsd.org/api/units/707453/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.763309Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Taking a VM fault is not expensive if the underlying page is already in core and can simply be mapped into the process, but it can become expensive if you take a whole lot of them on a regular basis.  A good example of this is running a program such as man:ls[1] or man:ps[1] over and over again.  If the program binary is mapped into memory but not mapped into the page table, then all the pages that will be accessed by the program will have to be faulted in every time the program is run.  This is unnecessary when the pages in question are already in the VM Cache, so FreeBSD will attempt to pre-populate a process's page tables with those pages that are already in the VM Cache.  One thing that FreeBSD does not yet do is pre-copy-on-write certain pages on exec.  For example, if you run the man:ls[1] program while running `vmstat 1` you will notice that it always takes a certain number of page faults, even when you run it over and over again.  These are zero-fill faults, not program code faults (which were pre-faulted in already).  Pre-copying pages on exec or fork is an area that could use more study."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8125128984177974447,
            "content_hash": -8125128984177974447,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:259",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 55,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 205,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615417/?format=api",
            "priority": 100,
            "id": 707454,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=0f3dbe3cd7d76351",
            "url": "https://translate-dev.freebsd.org/api/units/707454/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.799034Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Page Table Optimizations"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7381999408203105810,
            "content_hash": 7381999408203105810,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:270",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 57,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368051/?format=api",
            "priority": 100,
            "id": 707456,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=e6722159aa170612",
            "url": "https://translate-dev.freebsd.org/api/units/707456/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.820958Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "The page table optimizations make up the most contentious part of the FreeBSD VM design and they have shown some strain with the advent of serious use of `mmap()`.  I think this is actually a feature of most BSDs though I am not sure when it was first introduced.  There are two major optimizations.  The first is that hardware page tables do not contain persistent state but instead can be thrown away at any time with only a minor amount of management overhead.  The second is that every active page table entry in the system has a governing `pv_entry` structure which is tied into the `vm_page` structure.  FreeBSD can simply iterate through those mappings that are known to exist while Linux must check all page tables that _might_ contain a specific mapping to see if it does, which can achieve O(n^2) overhead in certain situations.  It is because of this that FreeBSD tends to make better choices on which pages to reuse or swap when memory is stressed, giving it better performance under load.  However, FreeBSD requires kernel tuning to accommodate large-shared-address-space situations such as those that can occur in a news system because it may run out of `pv_entry` structures."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6307955811766454775,
            "content_hash": -6307955811766454775,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:280",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 58,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 201,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615421/?format=api",
            "priority": 100,
            "id": 707457,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=2875a39c34ccb609",
            "url": "https://translate-dev.freebsd.org/api/units/707457/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.828596Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Both Linux and FreeBSD need work in this area.  FreeBSD is trying to maximize the advantage of a potentially sparse active-mapping model (not all processes need to map all pages of a shared library, for example), whereas Linux is trying to simplify its algorithms.  FreeBSD generally has the performance advantage here at the cost of wasting a little extra memory, but FreeBSD breaks down in the case where a large file is massively shared across hundreds of processes.  Linux, on the other hand, breaks down in the case where many processes are sparsely-mapping the same shared library and also runs non-optimally when trying to determine whether a page can be reused or not."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 60250029008486510,
            "content_hash": 60250029008486510,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:285",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 59,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 113,
            "source_unit": "https://translate-dev.freebsd.org/api/units/615423/?format=api",
            "priority": 100,
            "id": 707458,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=80d60d1508c2006e",
            "url": "https://translate-dev.freebsd.org/api/units/707458/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.890847Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/zh_CN/?format=api",
            "source": [
                "Page Coloring"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5361117431676146431,
            "content_hash": 5361117431676146431,
            "location": "documentation/content/en/articles/vm-design/_index.adoc:287",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 60,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/368057/?format=api",
            "priority": 100,
            "id": 707459,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/zh_CN/?checksum=ca6683e6523612ff",
            "url": "https://translate-dev.freebsd.org/api/units/707459/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-04-04T21:58:49.957614Z"
        }
    ]
}