由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
CS版 - 求大型缓存数据写入文件的最快方法
相关主题
求教:判断两幅图像的差距除了SSD以外有别的好方法么? (转载)真正体验到一把DMA的先进性和优越性 (转载)
SDSU&CGU joint phd program hiring RA电脑Standby和Hibernate有什么区别?
CGU&SDSU 全奖Ph.D.招生(2014秋季入学)有关李彦宏的绿卡问题
CGU&SDSU 全奖Ph.D.招生(2014秋季入学)语音识别技术发展咋样了?
请教最好的储存数据的方法请教:CPU缓存大小KB是什么单位?
想转data science,想做一个project帮助转行。请大家帮忙看看是不是一个好的project请教一个逻辑地址到物理地址映射的问题
Two interview questions? (转载)码农们最常说的谎言是什么?
Great Job Opportunities in Quant Hedge FundAbout scheduling for RAID
相关话题的讨论汇总
话题: raid话题: xp话题: use话题: when话题: ssd
进入CS版参与讨论
1 (共1页)
w********r
发帖数: 1971
1
有一个程序,对缓存数据写入文件速度要求比较高,要求一秒内把300m缓存二进制数据
写入文件,目前需要6-8秒完成,求指点如何完成,操作系统xp,4g 内存,xeron cpu,
7200转 硬盘.
k**********g
发帖数: 989
2
First, don't use XP.
http://stackoverflow.com/questions/3275136/information-sought-o
See first comment post.
http://support.microsoft.com/kb/815227
When you UnmapViewOfFile very large amounts of RAM on XP, the whole system (
every process) will pause to let dirty data dumped to the disk. Despite what
the KB says, newer XP SP do not "completely" resolve the issue, just enough
fine-tuning for typical customers. Your use cases are not typical.
If whole system pausing is not your cup of tea, you must choose a newer OS
version.
w********r
发帖数: 1971
3
谢谢,也觉得xp不是太合适,但是客户机器的一大堆其他的驱动程序都是xp环境的,没
有办法
,如果xp下有什么好方法吗?

(
what
enough

【在 k**********g 的大作中提到】
: First, don't use XP.
: http://stackoverflow.com/questions/3275136/information-sought-o
: See first comment post.
: http://support.microsoft.com/kb/815227
: When you UnmapViewOfFile very large amounts of RAM on XP, the whole system (
: every process) will pause to let dirty data dumped to the disk. Despite what
: the KB says, newer XP SP do not "completely" resolve the issue, just enough
: fine-tuning for typical customers. Your use cases are not typical.
: If whole system pausing is not your cup of tea, you must choose a newer OS
: version.

r******e
发帖数: 617
4
1秒中写入300MB的顺序文件的话,可以考虑使用SSD。如果没有SSD而且一次只需要写入
1个大文件的话,设置500MB的内存盘一个,写一个后台程序将文件转移到硬盘上。如果
连续写入300MB大文件的话,那还是得考虑SSD。
k**********g
发帖数: 989
5

There isn't even a drive on the market (Harddisk, SSD or hybrid) with single
device steady state write 300MBytes per seconds.
Hardware RAID + SSD, custom programming (completely bypass the OS file
system); or custom interface card to SAN.
Solutions that "seem to work" in the first few seconds (or minutes) may fail
when the steady state is reached, i.e. when the device is full.
哥找的不是答案,哥找的是麻烦

【在 r******e 的大作中提到】
: 1秒中写入300MB的顺序文件的话,可以考虑使用SSD。如果没有SSD而且一次只需要写入
: 1个大文件的话,设置500MB的内存盘一个,写一个后台程序将文件转移到硬盘上。如果
: 连续写入300MB大文件的话,那还是得考虑SSD。

p*****d
发帖数: 81
6
首先我的经验是在win7上,也许xp上并不适用,仅供你参考。
* hardware: If my memory serves me, there were some SSDs "claiming" to have
sustained rate >300MB/s last year. You can compare the claimed speeds at: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636
For us, we want 1.1GB/s so single disk is not an option and we have to use
raid.
If you want to use rotational disks, you definitely need raid.
Try windows's software raid first. If it doesn't work for you, you can use
hardware raid or hardware+software raid (raid of raid).
* software: I remember the write speed is capped at 375MB/s when using
fwrite() or c++ ofstream etc w/ our system. To go beyond that, you will need
to use windows unbuffered I/O. Please see:
http://msdn.microsoft.com/en-us/library/windows/desktop/cc64495
http://stackoverflow.com/questions/701180/is-there-an-un-buffer
Good Luck!
w********r
发帖数: 1971
7
thank you

have
use
use
need

【在 p*****d 的大作中提到】
: 首先我的经验是在win7上,也许xp上并不适用,仅供你参考。
: * hardware: If my memory serves me, there were some SSDs "claiming" to have
: sustained rate >300MB/s last year. You can compare the claimed speeds at: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636
: For us, we want 1.1GB/s so single disk is not an option and we have to use
: raid.
: If you want to use rotational disks, you definitely need raid.
: Try windows's software raid first. If it doesn't work for you, you can use
: hardware raid or hardware+software raid (raid of raid).
: * software: I remember the write speed is capped at 375MB/s when using
: fwrite() or c++ ofstream etc w/ our system. To go beyond that, you will need

x*******1
发帖数: 28835
8
RAID, SAN/ NAS
k**********g
发帖数: 989
9
Thanks, I learned a lot from your answer.

have
use
use
need

【在 p*****d 的大作中提到】
: 首先我的经验是在win7上,也许xp上并不适用,仅供你参考。
: * hardware: If my memory serves me, there were some SSDs "claiming" to have
: sustained rate >300MB/s last year. You can compare the claimed speeds at: http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636
: For us, we want 1.1GB/s so single disk is not an option and we have to use
: raid.
: If you want to use rotational disks, you definitely need raid.
: Try windows's software raid first. If it doesn't work for you, you can use
: hardware raid or hardware+software raid (raid of raid).
: * software: I remember the write speed is capped at 375MB/s when using
: fwrite() or c++ ofstream etc w/ our system. To go beyond that, you will need

k**********g
发帖数: 989
10
This post may also be relevant.
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/
When an application uses unbuffered IO, it is essentially dealing with DMA
directly. This may cause issues (interrupt latency, skipped data) with the
other devices on the computer.
So, when start using DMA, check out the documentations for both the disk (or
RAID controller) as well as the data capturing device.
c*****m
发帖数: 1160
11

cpu,
异步存储。用G网络传到另一台电脑,你这边就可以claim成功返回了。那边的存储电脑
可以是高性能的系统(不要XP)

【在 w********r 的大作中提到】
: 有一个程序,对缓存数据写入文件速度要求比较高,要求一秒内把300m缓存二进制数据
: 写入文件,目前需要6-8秒完成,求指点如何完成,操作系统xp,4g 内存,xeron cpu,
: 7200转 硬盘.

1 (共1页)
进入CS版参与讨论
相关主题
About scheduling for RAID请教最好的储存数据的方法
what kind of machine should I buy想转data science,想做一个project帮助转行。请大家帮忙看看是不是一个好的project
请推荐几个network security方面的主要journal或者conferenceTwo interview questions? (转载)
有没有做RAID或SAN等storage系统的牛人Great Job Opportunities in Quant Hedge Fund
求教:判断两幅图像的差距除了SSD以外有别的好方法么? (转载)真正体验到一把DMA的先进性和优越性 (转载)
SDSU&CGU joint phd program hiring RA电脑Standby和Hibernate有什么区别?
CGU&SDSU 全奖Ph.D.招生(2014秋季入学)有关李彦宏的绿卡问题
CGU&SDSU 全奖Ph.D.招生(2014秋季入学)语音识别技术发展咋样了?
相关话题的讨论汇总
话题: raid话题: xp话题: use话题: when话题: ssd