Units API.

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

GET /api/units/615421/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/documentation/articlesvm-design_index/en/?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": [
        "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."
    ],
    "id_hash": -6307955811766454775,
    "content_hash": -6307955811766454775,
    "location": "documentation/content/en/articles/vm-design/_index.adoc:280",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "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": 615421,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/articlesvm-design_index/en/?checksum=2875a39c34ccb609",
    "url": "https://translate-dev.freebsd.org/api/units/615421/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-03-20T20:43:35.283336Z"
}