V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  bellchu  ›  全部回复第 131 页 / 共 141 页
回复总数  2807
1 ... 127  128  129  130  131  132  133  134  135  136 ... 141  
2014-12-18 22:42:10 +08:00
回复了 yushiro 创建的主题 问与答 Office.microsoft.com 挂了?
2014-12-18 22:40:54 +08:00
回复了 yushiro 创建的主题 问与答 Office.microsoft.com 挂了?
一直好好的呀 是你浏览器的问题吧
2014-12-18 20:40:18 +08:00
回复了 Livid 创建的主题 Wikipedia 如何才能为 V2EX 在 Wikipedia 上创建一个页面呢?
创建步骤
更多資料:維基百科:創建條目精靈和維基百科:条目请求
第一件事:维基百科已经收录了数量可观的条目,因此,在阁下准备撰写新条目之前,应当做的第一件事是对维基百科现有的条目进行搜索,检查是否已经存在相同条目或相似条目。
如果相似、相关条目已经存在:应当先阅读、了解条目的内容,这样在阅读后阁下或许会发现您不需要再创建另一个新条目,又或许您只需要创建一个重定向页。阁下也可以考虑扩充现有的条目,例如,如果阁下想编写一篇关于乐队中某成员的文章,可以将资料添加到该乐队的条目,或其他有关该乐队成员、涵盖内容更广的条目内,这样更有助拓展条目主题的广度和深度。
如果尚未收录合适的条目:确认维基百科尚无相关或相似的条目后,阁下可以通过点击搜索页的红色链接建立新条目。
关于如何使用维基百科编辑界面,参见Wikipedia:如何编辑页面。
关于如何撰写一篇维基百科条目,参见下文以及Wikipedia:您的第一篇条目。
完成輸入條目內容後,請務必使用預覽功能查閱效果。
2014-12-18 20:31:39 +08:00
回复了 Livid 创建的主题 Wikipedia 如何才能为 V2EX 在 Wikipedia 上创建一个页面呢?
手机没发全....不知道为啥跳掉了
2014-12-18 20:31:12 +08:00
回复了 Livid 创建的主题 Wikipedia 如何才能为 V2EX 在 Wikipedia 上创建一个页面呢?
2014-12-18 20:28:19 +08:00
回复了 Livid 创建的主题 Wikipedia 如何才能为 V2EX 在 Wikipedia 上创建一个页面呢?
自己写
2014-12-18 19:25:36 +08:00
回复了 wzxjohn 创建的主题 问与答 关于树莓派的性能问题
@Starduster 用ITX玩儿集群太贵了吧,玩儿不起,而且太占地方,16+1个Pi叠起来都没有一个ITX机箱大
2014-12-18 19:01:20 +08:00
回复了 wzxjohn 创建的主题 问与答 关于树莓派的性能问题
超到800应该就足够了
2014-12-18 18:57:35 +08:00
回复了 wzxjohn 创建的主题 问与答 关于树莓派的性能问题
@uranushiko 看负载的 iperf多开几个点做个压力测试
2014-12-18 18:52:52 +08:00
回复了 wzxjohn 创建的主题 问与答 关于树莓派的性能问题
@wzxjohn 贴片应该没问题,我买了16+1个做了集群,全超到顶了,贴片散热,烫是烫了点,但也不至于烧起来,玩够之后16个都卖了,完好无损,没有烧坏的。。。。。最后留了一个本来做主控的装了个openelec看片子,啊哈哈哈,秒杀X米盒子
2014-12-18 18:34:24 +08:00
回复了 wzxjohn 创建的主题 问与答 关于树莓派的性能问题
pi的ip转发能力是足够的,但是CPU不够强劲,如果你要VPN和SS一起用的话,最好超频到1000MHZ,默认有点低,CPU贴片散热一定要做好,不然是蛮烫的。不要放DMZ放公网,做NAT,做好iptables规则,防止不必要的防火墙开销占用系统资源。

如果只有你自己一个人用的话我觉得是没问题了。但是要是人多的话就算了,撑不住。
Nerd's girlfriend won't say that she dislike nerdy present.
2014-12-18 15:04:43 +08:00
回复了 yrdr 创建的主题 职场话题 做了 N 多年 php,感觉有些迷茫了
码农的瑞士军刀--Perl!!!!!
@BlueFly 我拉个去!!我太孤陋寡闻了!!惭愧!!我继续用我的Office365,马上试用到期了,不知道要不要买。
阿里有钱,5G 50个账号够一些小企业全部员工用的了。
2014-12-18 14:32:27 +08:00
回复了 atom 创建的主题 Linux 拷贝大文件(并且数量多)到移动硬盘的过程中经常死机
一楼说的没错,缓存的问题,KERNEL的写入缓存太大,以至于你从高速存储写往低速设备时出现拥塞瓶颈

限定一下dirty background bytes到比较小的数值测试下卡顿现象,至于多少数值就要你自己测试了,设4M试试看先

下面是一些相关设置的默认值,
vm.dirty_background_bytes = 0
vm.dirty_background_ratio = 10
vm.dirty_bytes = 0
vm.dirty_expire_centisecs = 3000
vm.dirty_ratio = 20
vm.dirty_writeback_centisecs = 500

以下是Linus Torvalds对相关问题的解释

From: Linus Torvalds <torvalds@linux-foundation.org>
Newsgroups: fa.linux.kernel
Subject: Re: [ext3][kernels >= 2.6.20.7 at least] KDE going comatose when FS
Date: Fri, 27 Apr 2007 15:19:40 UTC
Message-ID: <fa.+jJfsPdWk8uCcJT/[email protected]>

On Fri, 27 Apr 2007, Mike Galbraith wrote:
>
> As subject states, my GUI is going away for extended periods of time
> when my very full and likely highly fragmented (how to find out)
> filesystem is under heavy write load. While write is under way, if
> amarok (mp3 player) is running, no song change will occur until write is
> finished, and the GUI can go _entirely_ comatose for very long periods.
> Usually, it will come back to life after write is finished, but
> occasionally, a complete GUI restart is necessary.

One thing to try out (and dammit, I should make it the default now in
2.6.21) is to just make the dirty limits much lower. We've been talking
about this for ages, I think this might be the right time to do it.

Especially with lots of memory, allowing 40% of that memory to be dirty is
just insane (even if we limit it to "just" 40% of the normal memory zone.
That can be gigabytes. And no amount of IO scheduling will make it
pleasant to try to handle the situation where that much memory is dirty.

So I do believe that we could probably do something about the IO
scheduling _too_:

- break up large write requests (yeah, it will make for worse IO
throughput, but if make it configurable, and especially with
controllers that don't have insane overheads per command, the
difference between 128kB requests and 16MB requests is probably not
really even noticeable - SCSI things with large per-command overheads
are just stupid)

Generating huge requests will automatically mean that they are
"unbreakable" from an IO scheduler perspective, so it's bad for latency
for other reqeusts once they've started.

- maybe be more aggressive about prioritizing reads over writes.

but in the meantime, what happens if you apply this patch?

Actually, you don't need to apply the patch - just do

echo 5 > /proc/sys/vm/dirty_background_ratio
echo 10 > /proc/sys/vm/dirty_ratio

and say if it seems to improve things. I think those are much saner
defaults especially for a desktop system (and probably for most servers
too, for that matter).

Even 10% of memory dirty can be a whole lot of RAM, but it should
hopefully be _better_ than the insane default we have now.

Historical note: allowing about half of memory to contain dirty pages made
more sense back in the days when people had 16-64MB of memory, and a
single untar of even fairly small projects would otherwise hit the disk.
But memory sizes have grown *much* more quickly than disk speeds (and
latency requirements have gone down, not up), so a default that may
actually have been perfectly fine at some point seems crazy these days..

Linus

---
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index f469e3c..a794945 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -67,12 +67,12 @@ static inline long sync_writeback_pages(void)
/*
* Start background writeback (via pdflush) at this percentage
*/
-int dirty_background_ratio = 10;
+int dirty_background_ratio = 5;

/*
* The generator of dirty data starts writeback at this percentage
*/
-int vm_dirty_ratio = 40;
+int vm_dirty_ratio = 10;

/*
* The interval between `kupdate'-style writebacks, in jiffies
2014-12-18 10:29:37 +08:00
回复了 b7898585 创建的主题 云计算 谷歌地图中居然没有中国的选项
菊花一紧,以为狗哥把中国地图抹掉了。。。。。。。。
2014-12-18 10:24:33 +08:00
回复了 ob 创建的主题 云计算 阿里云 VPN 配置问题求帮助
@ob 在Win机器上PPTP连接是默认用远程网关的,你删掉一个重建一个连接看看是否正常

你sysctl里面几个route相关的开关都是关闭的,默认sysctl.conf文件只需要改一个ipforward就能让pptp转发IP包配合masquerade就能让你的PPTP客户端上网,其他不用改

你把sysctl恢复到我贴的那些value先
2014-12-17 21:55:02 +08:00
回复了 ob 创建的主题 云计算 阿里云 VPN 配置问题求帮助
2014-12-17 21:42:21 +08:00
回复了 ob 创建的主题 云计算 阿里云 VPN 配置问题求帮助
@ob 太长了,我待会儿贴到github上去
1 ... 127  128  129  130  131  132  133  134  135  136 ... 141  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1067 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms · UTC 22:32 · PVG 06:32 · LAX 14:32 · JFK 17:32
Developed with CodeLauncher
♥ Do have faith in what you're doing.