Skip to content

u/ttmp3

In this archive from Mar 2014 to Feb 2019

8
posts
169
comments
0
media
370
score

Top posts

How to kill freezing firefox?

I have met this problem only recently, starting from last month. It happened nearly every single day. I leave firefox running for several hours, it runs fine, but suddenly, without any reason, it hangs. I run top command, firefox process starts to use more CPU as time goes. Load average increase fro...

14 points21 comments
Open on Reddit

How does archlinux.org host itself?

I am amazed by how fast linux-4.15.5-1 is released. I wish to know how arch linux managed to do it in such a short itme. Is there any documentation on how arch linux: hosts archlinux.org website, for example, where is it hosted, what software and hardware is used. builds binary packages and ISO, for...

12 points10 comments
Open on Reddit

Top comments

It depends more on the tools or libraries you used to build the application rather than the OS itself. The tools might deprecate or change the behaviour of certain functions.

I have a example. I download a very old C program(written in 1996). It used restrict as a variable name. But C99 add restrict as a keyword. The program won't compile in gcc 6.0(default standard is gnu11), unless you manually change standard to C89.

12 points

It's not memory leak. It's called memory ballooning, a very popular feature loved by service providers and hated by service users.

With memory ballooning, host can overcommit its memory to guests on it. A host with 2G memory can create two guests with 2G memory. If one guest is busy and the other is relatively free, host will allocate memory from the idle client. This is what you are observing now.

BTW: Internet Service Providers does something similar to this. They always overcommit internet bandwidth. 1000Mbps overall internet bandwidth is allocated to a building with 100 houses in it. Each house is given a illusion that it has bandwidth of 20Mbps. The ISP's reason is that different houses tend to use internet at different time, so it does not affect user experience much. But in reality, we always use Internet at night near 8:00pm-10:00pm, so all of us will see bad networking.

Edit: can people tell me where I am wrong if you down-vote my answer?

7 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.