All of lore.kernel.org
 help / color / mirror / Atom feed
* =?gb18030?B?u9i4tKO6dWJpZnM6cXVlc3Rpb25zIGFib3V0IHRoaXMgZmlsZXN5c3RlbQ==?=
@ 2016-06-22 15:26 =?gb18030?B?u9TJ2Q==?=
  2016-06-22 19:56 ` 回复:ubifs:questions about this filesystem Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: =?gb18030?B?u9TJ2Q==?= @ 2016-06-22 15:26 UTC (permalink / raw)
  To: =?gb18030?B?bGludXgtbXRk?=, =?gb18030?B?UmljaGFyZCBXZWluYmVyZ2Vy?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 1063 bytes --]

Thank you for kind reply.

1. As you said just now"there is only a background thread to do many things",  dose "many things" include both GC and synchronizing data?
2. If I write a file(1 KB) to ubifs mounted in 34MiB mtd, can i write 34,000 times or 34000/4 times(the real disk usage of a 1KB file is 4KB)£¿

Many Thanks,
Andy
---ԭʼÓʼþ---
·¢¼þÈË: "Richard Weinberger"<richard@nod.at>
·¢ËÍʱ¼ä: 2016Äê6ÔÂ22ÈÕ 22:46:07
ÊÕ¼þÈË: "linux-mtd@lists.infradead.org"<linux-mtd@lists.infradead.org>;"»ÔÉÙ"<wang502742203@qq.com>;
Ö÷Ìâ: Re: »Ø¸´£ºubifs:questions about this filesystem

Am 22.06.2016 um 16:43 schrieb »ÔÉÙ:
> As for the second question, I mean if ubifs background is collecting garbage,meanwhile my embeded system is doing another thing, will GC thread affect the performance of "doing another thing"?

Please start unsing reply-all.
Sure will it as every thread on a multithreaded OS does...

Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 回复:ubifs:questions about this filesystem
  2016-06-22 15:26 =?gb18030?B?u9i4tKO6dWJpZnM6cXVlc3Rpb25zIGFib3V0IHRoaXMgZmlsZXN5c3RlbQ==?= =?gb18030?B?u9TJ2Q==?=
@ 2016-06-22 19:56 ` Richard Weinberger
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2016-06-22 19:56 UTC (permalink / raw)
  To: 辉少, linux-mtd

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 688 bytes --]

Hi!

Am 22.06.2016 um 17:26 schrieb »ÔÉÙ:
> Thank you for kind reply.
> 
> 1. As you said just now"there is only a background thread to do many things",  dose "many things" include both GC and synchronizing data?

I said GC can happen in many contexts. Also in the calling one.
To figure what the background thread exactly does see function ubifs_bg_thread().

> 2. If I write a file(1 KB) to ubifs mounted in 34MiB mtd, can i write 34,000 times or 34000/4 times(the real disk usage of a 1KB file is 4KB)£¿

The minimal file size on UBIFS is 4KiB. You can also not use all 34MiB, since UBIFS needs some LEBs for the journal, free space accounting,
master nodes, etc...

Thanks,
//richard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-22 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22 15:26 =?gb18030?B?u9i4tKO6dWJpZnM6cXVlc3Rpb25zIGFib3V0IHRoaXMgZmlsZXN5c3RlbQ==?= =?gb18030?B?u9TJ2Q==?=
2016-06-22 19:56 ` 回复:ubifs:questions about this filesystem Richard Weinberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.