Wine 3.0

Ubuntu各种衍生版本
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#16

帖子 poloshiao » 2018-02-24 11:25

cat /proc/swaps
Filename Type Size Used Priority
/dev/sda5 partition 2091004 179612 -1
/mnt/1GiB.swap file 1048572 0 -2
4-1-1. https://help.ubuntu.com/community/SwapFaq
Search by keywords "swap partition", "swap file", "swappiness", "free command" and "priority of swap"
安全にメモリ消費を少なくする方法はないものか?
有沒有辦法安全地減少內存消耗?
Try to understand the influence by changing different swappiness.
That will help you capture more.
xenomorph0525
帖子: 522
注册时间: 2009-11-21 20:29

Re: Wine 3.0

#17

帖子 xenomorph0525 » 2018-02-25 1:48

寺島聰子 写了:安全にメモリ消費を少なくする方法はないものか?
有沒有辦法安全地減少內存消耗?
1.1GiBは高すぎると思います。
私のUbuntu MATE 16.04の起動直後は約730MiB消費したんです。
Screenshot at 2018-02-25 01-26-27.png
「自動起動するアプリ」で起動の必要がないアプリをキャンセルしたら、どうですか?

ちなみに、なんで日本人は中国のフォーラムで投稿するんですか?
日本語のフォーラムがありますよ。
https://forums.ubuntulinux.jp/
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#18

帖子 寺島聰子 » 2018-02-25 20:30

poloshiao様、すいません。体調不良のため、レスが遅くなります。
Mr. poloshiao, sorry. Due to poor physical condition, loss is delayed.
xenomorph0525様
[「自動起動するアプリ」で起動の必要がないアプリをキャンセルしたら、どうですか?

/quote]
早速やってみます。ありがとうございます。I will try it at once. Thank you very much.
ちなみに、なんで日本人は中国のフォーラムで投稿するんですか?
日本語のフォーラムがありますよ。
たとえ言葉の壁はありましても、poloshiao様をはじめとする皆様、上級者が、電光石火の速度で、親切に回答をつけてくれるサイトは、世界広しといえども、ここだけだからです。
Even though there are walls of words, poloshiao and everyone else, advanced sites, because of the speed of lightning-fire, kindly answer the site, even though it is world wide, it is just here.
xenomorph0525
帖子: 522
注册时间: 2009-11-21 20:29

Re: Wine 3.0

#19

帖子 xenomorph0525 » 2018-02-25 21:35

寺島聰子 写了: たとえ言葉の壁はありましても、poloshiao様をはじめとする皆様、上級者が、電光石火の速度で、親切に回答をつけてくれるサイトは、世界広しといえども、ここだけだからです。
Even though there are walls of words, poloshiao and everyone else, advanced sites, because of the speed of lightning-fire, kindly answer the site, even though it is world wide, it is just here.
そうですよね。
shiaoさんも私のネット上の知り合いです。
shiaoさんは英語堪能で、私は日本語が少し出来て、中国のフォーラムで日本人と交流するのは正にいわゆる「地球村」ですね。
やはり、ネットには国境無しです。

說得也是。
shiao大也是我在網路上的熟人。
shiao大會英語,我稍微會日語,在中國的論壇跟日本人交流正是所謂的「地球村」呢。
果然,網路是無國界的。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#20

帖子 寺島聰子 » 2018-02-25 23:53

viewtopic.php?f=175&t=486780
「删除交换分区」後,ubuntu mate 16.04的行為很奇怪。
看看系統監視器。
Firefox啟動時,無法輸入。
附件
image.png
Screenshot--dev-sda - GParted.png
Screenshot--dev-sda - GParted.png (57.6 KiB) 查看 8811 次
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#21

帖子 poloshiao » 2018-02-26 15:09

「删除交换分区」後,ubuntu mate 16.04的行為很奇怪。
看看系統監視器。
Firefox啟動時,無法輸入。
1. Try to use the following command with options to help you understand what is going on just before you start firefox .

代码: 全选

free -b -t -s 1 -c 20
http://manpages.ubuntu.com/manpages/tru ... ree.1.html
free - Display amount of free and used memory in the system
-b, --bytes
Display the amount of memory in bytes.
-t, --total
Display a line showing the column totals.
-c, --count count
Display the result count times. Requires the -s option.
-s, --seconds seconds
Continuously display the result delay seconds apart.
1-1. You may change the count and seconds so that its output can help you more.

2. Notice the free (3rd) column.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#22

帖子 寺島聰子 » 2018-02-26 22:12

以下mint17.2にて
m@m ~ $ free -m -t
total used free shared buffers cached
Mem: 2001 1720 280 32 46 833
-/+ buffers/cache: 840 1160
Swap: 1023 104 919
Total: 3025 1825 1199
m@m ~ $
参考
http://www.math.kobe-u.ac.jp/HOME/kodam ... emory.html
The substantial remaining memory - can be calculated by free + buffers + cached, taking into account the buffer and the diversion of the cache
在我的例子中,free + buffers + cached = 280 + 840 + 1160 = 2280.還剩下很多內存。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#23

帖子 寺島聰子 » 2018-02-26 22:37

UbuntuMate 16.04起動直後、いかなるアプリケーションも起動させていない状態
jin@1:~$ free -m -t
total used free shared buff/cache available
Mem: 1999 609 409 291 981 936
Swap: 0 0 0
Total: 1999 609 409
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#24

帖子 寺島聰子 » 2018-02-26 22:54

從mint17.2寫
在ubuntu 16.04上,當你啟動firefox後,它變得非常沉重
寫作變得不可能。 執行任何操作幾乎是不可能的。
為了使OS暫時可用,我們必須重新創建丟失的交換分區? 我會和你一起幻想。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#25

帖子 寺島聰子 » 2018-02-27 4:26

https://help.ubuntu.com/community/SwapF ... rtition.3F
How do I add or modify a swap partition?

Process to Increase Size of Swap Partition and use it for Hibernation

1.Creating the swap partition
2.Activating the swap partition
3.Making the new swap partition work for hibernate (optional)
我は、ついでに3.にも挑戦してみようと思う。
我認為我會挑戰3。
Creating the swap partition
Boot to Ubuntu install CD (I'm on Natty) and choose the option to run Ubuntu now
Go to system -> GParted Partition Editor
これはデュアルブートのmint17.2のGPartedでやれば、同じことであろう。
如果您在雙引導mint17.2上使用GParted,則這將是相同的。
Decrease the size of your primary partition by the amount you want your new swap to be (I made mine 2x RAM + 500MB just to be safe).
The easiest way to do this is to fill in the amount of space you want swap to be in the "free space following" field
ああ、そういう意味か! スライダーをドラッグするのではなく。
哦,那意味著! 而不是拖動滑塊。
5.In the free space that has now been created, choose new, type linux-swap and you can name the partition "swap" if you like
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#26

帖子 poloshiao » 2018-02-27 12:17

https://help.ubuntu.com/community/SwapF ... rtition.3F
How do I add or modify a swap partition?

Process to Increase Size of Swap Partition and use it for Hibernation

1.Creating the swap partition
2.Activating the swap partition
3.Making the new swap partition work for hibernate (optional)
我は、ついでに3.にも挑戦してみようと思う。
我認為我會挑戰3。
1. What did you mean by saying these words "我認為我會挑戰3" ?
free -m -t
total used free shared buff/cache available
Mem: 1999 609 409 291 981 936
Swap: 0 0 0
Total: 1999 609 409
在ubuntu 16.04上,當你啟動firefox後,它變得非常沉重
寫作變得不可能。 執行任何操作幾乎是不可能的。
為了使OS暫時可用,我們必須重新創建丟失的交換分區?
2. That depends on how much ram the application (like firefox) will consume dynamically when being started.
2-1. 409 free space might be too small to run smoothly for some applications (like firefox) which needs more ram.
2-2. The system will become crashed when the free space is not enough to run the application. In such case the swap area can help you avoid being crash.
2-3. Adjust the value of swappiness larger if your free space of ram is getting smaller.
It will tells the kernel to aggressively swap processes out of physical memory and move them to swap cache.
By doing so you can start some applications which need more ram to run fully.
2-3-1. https://help.ubuntu.com/community/SwapF ... ange_it.3F
What is swappiness and how do I change it?
xenomorph0525
帖子: 522
注册时间: 2009-11-21 20:29

Re: Wine 3.0

#27

帖子 xenomorph0525 » 2018-02-27 13:04

poloshiao 写了: 1. What did you mean by saying these words "我認為我會挑戰3" ?
「我は、ついでに3.にも挑戦してみようと思う。」

→我想也順便試試挑戰3.。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#28

帖子 寺島聰子 » 2018-02-28 12:47

1. What did you mean by saying these words "我認為我會挑戰3" ?
我想也順便試試挑戰3. I want to try the challenge by the way.
我認為我會挑戰3 I think I will challenge 3
「3」とは Making the new swap partition work for hibernate (optional)也。
「重新創建丟失的交換分區」が目標であるが、Linux上に於いて未体験のhibernateも ついでに使えるようにしたい、という意味でした。
“重新創建丟失的交換分區”是這次的目的,這意味著它希望能夠同時使用在Linux上同時沒有經歷的'休眠'。
ありがとうございました、お手数おかけします
非常感谢,抱歉让你烦恼。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#29

帖子 寺島聰子 » 2018-02-28 13:27

2-2. The system will become crashed when the free space is not enough to run the application. In such case the swap area can help you avoid being crash.
5.In the free space that has now been created, choose new, type linux-swap and you can name the partition "swap" if you like
停止してた 上記から 再開します
脳みそ疲れてる状態で、教えが英語だったから吐き気がして、混乱してたが、やってみたら超簡単だった!
從上面停止重新啟動
我的大腦很疲憊,因為材料是英文的,我感到噁心和困惑,但是這很容易做! :em04 :Haha
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#30

帖子 寺島聰子 » 2018-02-28 15:31

https://help.ubuntu.com/community/SwapF ... ange_it.3F
Activating the swap partition
you can reference it even if it's on a different mount point from boot-to-boot due to adding disks, etc.
mint17.2側からやっても大丈夫という意味か
Does it mean that it will be okay if I do it from mint 17.2 side?
Right-click on your swap partition and choose *Information*. You should see the **Path** and **UUID** listed there. Keep this open for further reference.
パス /dev/sda6
UUID 2dccb008-c8e6-48a3-bea5-058ed3624727
回复